Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: A non well formed numeric value encountered #5

Open
TullariS opened this issue Nov 11, 2016 · 7 comments
Open

Notice: A non well formed numeric value encountered #5

TullariS opened this issue Nov 11, 2016 · 7 comments

Comments

@TullariS
Copy link
Contributor

abs_paging_height() in reportico_report_html.php throws a notice when $height_string has a percent sign ie "4%". This causes HTML reports to fail, since it counts as an error.

Suggest changing $height_string in line 134 to strstr($height_string, "%", true), in order to strip out the percentage sign.

Also, same thing should apply to abs_paging_width(), line 146.

Apologies if there was a more efficient way of suggesting this change. I'm not very familiar with how Git works...yet.

Thank you

@reportico-web
Copy link
Owner

Ok thanks ill test that and sort that out very soon.. sounds sensible.

Peter

@ramojo
Copy link

ramojo commented Mar 22, 2018

Hi. Still encountering the error. Any fix?

@shabaz-ejaz
Copy link

shabaz-ejaz commented Sep 4, 2018

@reportico-web Any updates on this issue? It seems this issue has been at stand-still since March. I'm still encountering this.

@reportico-web
Copy link
Owner

Apologies for late action on this. I just made a commit .. i dont think i should ha

@reportico-web reportico-web reopened this Sep 6, 2018
@reportico-web
Copy link
Owner

reportico-web commented Sep 6, 2018

I just put a fix up in a version 5.4.1 which you should be able to fetch and try.. let me know if it doesnt work

Also you might like to try a completely re-engineered version if you make your composer require ^6.0 of the module which is in beta. It works with PHP 7, am getting 5.6 PHP supported over next few days ( see here Ill give you more info if you fancy trying it :)

@shabaz-ejaz
Copy link

@reportico-web Not working:

The requested package reportico/laravel-reportico 5.4.1 exists as reportico/laravel-reportico[4.1.0, 4.2.0, 4.3.0, 5.1.0, 5.2.0, 5.3.0, 5.4.0, 6.0.0, 6.0.3, dev-develop, dev-master, dev-reportico-new-architecture] but these are rejected by your constraint

I changed my composer.json to this: "reportico/laravel-reportico": "~5.4.1",

I cant see 5.4.1 anywhere on your releases. I only see up to 5.4.0.

@reportico-web
Copy link
Owner

I forgot to update on packagist .. try now ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants