Notice of Lookup TableName in Dashboard Report (v2023)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mobhar
User
Posts: 11660

Notice of Lookup TableName in Dashboard Report (v2023)

Post by mobhar »

PHPMaker v2023.7.3.

Does anybody get the same problem when trying to display the Dashboard Report, there is a notice message displayed:

Notice: Trying to get property 'TableName' of non-object in D:\wamp\www\demo2023\src\Lookup.php on line 378


konfuzion
User
Posts: 378

Post by konfuzion »

*using demo2023
Dashboard Report
v2023.7 generated with newest template

No problems here


mobhar
User
Posts: 11660

Post by mobhar »

Try to use only E_ALL of error_reporting directive in your php.ini file.


konfuzion
User
Posts: 378

Post by konfuzion »

; Default Value: E_ALL
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; https://php.net/error-reporting
; error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT // 1st, this no problem
error_reporting = E_ALL // 2nd, this no problem

Default is first one, no problem
added E_ALL only, no problem

(I didn't re-generate phpmaker, just edited php.ini and restarted Apache/MariaDBB/PHP services so php.ini can be reloaded and browsed to local url)


Webmaster
User
Posts: 9425

Post by Webmaster »

Please update to the latest template (Tools -> Update Template) and try again.


konfuzion
User
Posts: 378

Post by konfuzion »

Template Updated, shows 2 packages updated

Re-generated with above php.ini settings, restart services, browse url / dashboard, still no problem.

Everything is fine in my dev environment. *Using PHP 8.1.9


mobhar
User
Posts: 11660

Post by mobhar »

After updating template to the latest version, now the Notice message is gone.

Thank you.


Post Reply