Archived topic
Strange PHP Warning related to GP Premium Elements?
3 replies · Started by wekhter on January 24, 2020
While looking through PHP error logs to diagnose an issue, I found there were some repeated warnings that seem to relate to something with GP Premium elements:
[23-Jan-2020 23:07:28 UTC] PHP Warning: Use of undefined constant fale - assumed 'fale' (this will throw an Error in a future version of PHP) in /home/s1/html/wp-content/plugins/gp-premium/elements/class-hooks.php(180) : eval()'d code on line 45
I'm assuming that something somewhere is supposed to be false but is written as fale instead--maybe? I don't really know how to trace the error any further back, so I'm not sure if this is related to something within the Elements code, or perhaps an element I created.
Hi there,
Have you created any hooks elements?
If so what happens if you disable them for now?
I just checked the original file class-hooks.php and there is no fale in there.
Let me know :)
@Leo Seems so obvious now but like I said I was trying to diagnose a separate issue and didn't think to try investigating the hooks I created. D'oh! Found the offending hook with 'fale', thanks for the quick response! :)
No problem :)