PHP update issues
-
Hi,
My website has been working fine, however I had to upgrade my PHP version from 5.6.40 to 7.3.33 and now I’m getting some errors on my WordPress admin backend, more specifically on my Widgets page, which is not working.
I have some Warnings on top of the page, such as:
Warning: strpos() expects parameter 1 to be string, array given in /home/customer/www/XXXXX.com/public_html/wp-content/plugins/qtranslate-x/admin/qtx_admin.php on line 783 Warning: substr() expects parameter 1 to be string, array given in /home/customer/www/XXXXX.com/public_html/wp-content/plugins/qtranslate-x/admin/qtx_admin.php on line 784 Warning: strpos(): Offset not contained in string in /home/customer/www/XXXXX.com/public_html/wp-content/plugins/qtranslate-x/admin/qtx_admin.php on line 783 Warning: Cannot modify header information - headers already sent by (output started at /home/customer/www/XXXXX.com/public_html/wp-content/plugins/qtranslate-x/admin/qtx_admin.php:783) in /home/customer/www/XXXXX.com/public_html/wp-admin/admin-header.php on line 9
I also have some messages informing that none of the widgets will work, most likely because of that. Here are some:
`The “custom_html” block was affected by errors and may not function properly. Check the developer tools for more details.
The “recent-posts” block was affected by errors and may not function properly. Check the developer tools for more details.
The “nav_menu” block was affected by errors and may not function properly. Check the developer tools for more details.
The “gmap” block was affected by errors and may not function properly. Check the developer tools for more details.
The “social” block was affected by errors and may not function properly. Check the developer tools for more details.
The “contact_form” block was affected by errors and may not function properly. Check the developer tools for more details.
From what I’ve been investigating the function strpos() has changed in the latest PHP versions, and one of the parameters is not used anymore, that’s why this isn’t working. Any ideas to help me solve this?
- The topic ‘PHP update issues’ is closed to new replies.