I’m using WordPress on a VPS > CentOS 7 > PHP 7.2.15
I’m pretty lost right now with my /wp-admin/plugins.php page only partially loading, I’ve checked my logs and it’s spitting out the following below and I have no idea how to resolve it.
I’ve already tried ripping out several plugins and nothing works.
[Thu Feb 21 03:15:29.807450 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Illegal string offset 'deactivate' in REMOVED/REMOVED.com/public_html/wp-content/plugins/wp-editor/classes/WPEditor.php on line 333, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.807666 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Illegal string offset 'rollback' in REMOVED/REMOVED.com/public_html/wp-content/plugins/wp-rollback/wp-rollback.php on line 657, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.807696 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: array_unshift() expects parameter 1 to be array, string given in REMOVED/REMOVED.com/public_html/wp-content/plugins/add-logo-to-admin/add-logo-to-admin.php on line 249, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.807733 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: count(): Parameter must be an array or an object that implements Countable in REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-list-table.php on line 480, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.807744 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Invalid argument supplied for foreach() in REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-list-table.php on line 487, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.808804 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Illegal string offset 'deactivate' in REMOVED/REMOVED.com/public_html/wp-content/plugins/wp-editor/classes/WPEditor.php on line 333, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.808964 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Illegal string offset 'rollback' in REMOVED/REMOVED.com/public_html/wp-content/plugins/wp-rollback/wp-rollback.php on line 657, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.809029 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: array_merge(): Argument #1 is not an array in REMOVED/REMOVED.com/public_html/wp-content/plugins/amr-shortcode-any-widget/amr-shortcode-any-widget.php on line 399, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.809117 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: count(): Parameter must be an array or an object that implements Countable in REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-list-table.php on line 480, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.810157 2019] [php7:warn] [pid 17319] [client IP REMOVED] PHP Warning: Illegal string offset 'deactivate' in REMOVED/REMOVED.com/public_html/wp-content/plugins/wp-editor/classes/WPEditor.php on line 333, referer: https://REMOVED.com/wp-admin/plugins.php
[Thu Feb 21 03:15:29.810256 2019] [php7:error] [pid 17319] [client IP REMOVED] PHP Fatal error: Uncaught Error: [] operator not supported for strings in REMOVED/REMOVED.com/public_html/wp-content/plugins/bulletproof-security/bulletproof-security.php:120\nStack trace:\n#0 REMOVED/REMOVED.com/public_html/wp-includes/class-wp-hook.php(288): bps_plugin_actlinks('<', 'bulletproof-sec...')\n#1 REMOVED/REMOVED.com/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters('<', Array)\n#2 REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-plugins-list-table.php(695): apply_filters('plugin_action_l...', Array, 'bulletproof-sec...', Array, 'all')\n#3 REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-plugins-list-table.php(534): WP_Plugins_List_Table->single_row(Array)\n#4 REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-list-table.php(1165): WP_Plugins_List_Table->display_rows()\n#5 REMOVED/REMOVED.com/public_html/wp-admin/includes/class-wp-list-table.php(1097): WP_List_Table->display_rows_or in REMOVED/REMOVED.com/public_html/wp-content/plugins/bulletproof-security/bulletproof-security.php on line 120, referer: https://REMOVED.com/wp-admin/plugins.php
Can you help point me in the right direction or resolution? ??
Thanks guys!
]]>If it then loads with the plugins disabled I’d rename that directory back and rename my individual plugins by adding 1234 to those directory’s names.
Now bring the plugins back one at a time and watch for the bad one to start causing troubles again.
]]>You’re absolutely right, some plugins were causing the issue, I wish I knew coding so I wouldn’t have to rely on so many plugins, lol…
Sigh, case closed!
]]>