WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Error on global.static.functions.inc.php
- AuthorPosts
- 11 April, 2023 at 6:53 am #61681
Dear Olly,
Today a customer called me and informed me about the following error on the page. Despite my best efforts, I couldn’t figure out how to fix it. I hope you have an idea.The error message that appears when the page is loading is as follows:
“Warning: Trying to access array offset on value of type bool in /home/httpd/vhosts/unopizza.ch/httpdocs/wp-content/plugins/wppizza/includes/global.static.functions.inc.php on line 796 Warning: Trying to access array offset on value of type bool in /home/httpd/vhosts/unopizza.ch/httpdocs/wp-content/plugins/wppizza/includes/global.static.functions.inc.php on line 796”
I deactivated all WP-Pizza plugins via FTP. After updating WordPress and the theme, I activated and updated the WP-Pizza plugin and then updated the remaining WP-Pizza plugins one by one, but the problem still wasn’t resolved.
If you could help me, I would be very grateful.
Thanks
Umut11 April, 2023 at 3:29 pm #61685Hi
first of all, if the client has this warning on a page , then he/she has enabled debugging to be output instead of logged. that’s just a bad idea and should never be the case for production sites, so I suggest to fix that (see https://docs.wp-pizza.com/troubleshooting/ how to set debug constants – or indeed the wordpress codex)
regarding the warning itself, this will automagically fix itself in the next update (as that particular function is being re-written as it needlessly doubles up things)
- AuthorPosts
- The topic ‘Error on global.static.functions.inc.php’ is closed to new replies.