Activating the plugin on 5.3 beta3 produces PHP warnings
-
I tried the beta3 version of wordpress 5.3 today with the latest coblocks version.
When coblocks is activated, each admin page produces lots of php warnings in DEBUG mode. The frontend doesn’t seem to be affected. After deactivating the plugin again, everything works.Here is a list of the php warnings/errors:
Warning: array_slice() expects parameter 2 to be integer, string given in xxxx/wp-admin/includes/plugin.php on line 1392Warning: array_merge(): Argument #2 is not an array in xxxx/wp-admin/includes/plugin.php on line 1396
Warning: ksort() expects parameter 1 to be array, null given in xxxx/wp-admin/includes/plugin.php on line 1401
Warning: Cannot modify header information – headers already sent by (output started at xxxx/wp-admin/includes/plugin.php:1392) in /var/www/mra/wp-includes/functions.php on line 5939
Warning: Cannot modify header information – headers already sent by (output started at xxxx/wp-admin/includes/plugin.php:1392) in /var/www/mra/wp-admin/includes/misc.php on line 1252
Warning: Cannot modify header information – headers already sent by (output started at xxxx/wp-admin/includes/plugin.php:1392) in /var/www/mra/wp-admin/admin-header.php on line 9
I understand that these are only warnings and not real errors. But this makes using the plugin in DEBUG mode (WP_DEBUG true) impossible
- The topic ‘Activating the plugin on 5.3 beta3 produces PHP warnings’ is closed to new replies.