Fatal errors on each page visit
-
Hello,
I’m getting the following Fatal Error on all pages where I use widgets. Maybe even on pages without any widgets, I haven’t tested that since all my pages and subpages have an active sidebar.
Currently I’m using only the following logics:
is_user_logged_in()
!is_user_logged_in()
Are they okay to use in widget logic like that? They work fine.
But each page visit my hhvm error.log shows 20! new Fatal errors, all like this one:
[Sat Jul 4 17:20:21 2015] [hphp] [21253:7f4c87fff700:12:000017] [] \nFatal error: syntax error, unexpected T_GLOBAL in /var/www/247camming.com/htdocs/assets/plugins/widget-logic/widget_logic.php(286) : eval()’d code on line 1
Weird thing is, the page gets shown fine.
Any ideas what’s causing this? And even more important, how to debug or fix it? I appreciate any help.
Kind Regards,
Dennis
- The topic ‘Fatal errors on each page visit’ is closed to new replies.