WordPress Error 503

Awby

New Member
#1
Hello,

I have a server running ubuntu with OpenLiteSpeed and php7.2

I am currently having an issue with my website where I get an error 503 when I disable wp-debug. when it's enabled, I get a PHP error displayed all over the website :

[STDERR] PHP Warning: Parameter 2 to wpse18703_posts_where() expected to be a reference, value given in /var/www/html/wp-includes/class-wp-hook.php on line 286

I have moved the same website without any modifications to another cPanel hosting (the server is running Litespeed ). The same error is displayed on the cPanel hosting, but the site is working without any issues after disabling wp-debug.

Can someone please advice how can I fix this issue.

Thank you in advance.
 
Top