Hello everyone,
it's been a while since I've touched this nubuilder installation on y personal website and I noticed an error on one of the reports.
The error consists in having two records with the same surname but different name, the report gave me only one surname with all the records of both names. I checked the query with phpmyadmin and the results was correct.
Trying to create a quick report again, the system gives me this error:
Warning: Attempt to read property "orientation" on null in /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php on line 42
Warning: Attempt to read property "paper" on null in /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php on line 42
Warning: Attempt to read property "groups" on null in /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php on line 896
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php:896 Stack trace: #0 /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php(48): nuSetPixelsToMM() #1 /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php(27): nuRunReportId() #2 {main} thrown in /web/htdocs/www.xxxxxxxxxxxx.xx/xxxx/xxxx/core/nurunpdf.php on line 896
The strange thing is that whatever query I use to create the report, it always gives the same error. The site uses PHP 8.4, Mysql 8 and I also installed the latest release of nubuilder 4.8.0.1 but nothing has changed.
Any suggestions??
Thanks for any help
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
nurunpdf.php fatal error
-
- nuBuilder Team
- Posts: 4291
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: nurunpdf.php fatal error
Hi,
I just tested it with PHP 8.4.2 and was able to display a report successfully.
Would it be possible to create a minimal example (e.g. create a new nuBuilder database, then create a report and generate an SQL dump of the database)?
This would make it much easier to debug and try to find the issue.
I just tested it with PHP 8.4.2 and was able to display a report successfully.
Would it be possible to create a minimal example (e.g. create a new nuBuilder database, then create a report and generate an SQL dump of the database)?
This would make it much easier to debug and try to find the issue.