Issues with PHP 7.4
-
I’m getting several errors when trying to use this with PHP 7.4. This is what I get from XDebug:
( ! ) Notice: Trying to access array offset on value of type bool in /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php on line 41
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.0027 541280 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin.php’ ) …/plugins.php:10
3 0.0036 551968 require_once( ‘/srv/www/example.com/current/web/wp/wp-load.php’ ) …/admin.php:34
4 0.0043 553336 require_once( ‘/srv/www/example.com/current/web/wp-config.php’ ) …/wp-load.php:42
5 0.0413 1171720 require_once( ‘/srv/www/example.com/current/web/wp/wp-settings.php’ ) …/wp-config.php:9
6 0.3049 21094448 do_action( ) …/wp-settings.php:540
7 0.3049 21094824 WP_Hook->do_action( ) …/plugin.php:478
8 0.3049 21094824 WP_Hook->apply_filters( ) …/class-wp-hook.php:311
9 0.3277 21411136 SimpleTaxonomyRefreshed_Client::init( ) …/class-wp-hook.php:287( ! ) Warning: Cannot modify header information – headers already sent by (output started at /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php:41) in /srv/www/example.com/current/web/wp/wp-includes/functions.php on line 6221
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.0027 541280 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin.php’ ) …/plugins.php:10
3 0.3924 24508888 do_action( ) …/admin.php:170
4 0.3924 24509264 WP_Hook->do_action( ) …/plugin.php:478
5 0.3924 24509264 WP_Hook->apply_filters( ) …/class-wp-hook.php:311
6 0.3934 24527872 send_frame_options_header( ) …/class-wp-hook.php:285
7 0.3934 24527872 header ( ) …/functions.php:6221( ! ) Warning: Cannot modify header information – headers already sent by (output started at /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php:41) in /srv/www/example.com/current/web/wp/wp-admin/includes/misc.php on line 1282
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.0027 541280 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin.php’ ) …/plugins.php:10
3 0.3924 24508888 do_action( ) …/admin.php:170
4 0.3924 24509264 WP_Hook->do_action( ) …/plugin.php:478
5 0.3924 24509264 WP_Hook->apply_filters( ) …/class-wp-hook.php:311
6 0.3973 24723064 wp_admin_headers( ) …/class-wp-hook.php:287
7 0.3973 24723384 header ( ) …/misc.php:1282( ! ) Warning: Cannot modify header information – headers already sent by (output started at /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php:41) in /srv/www/example.com/current/web/wp/wp-admin/admin-header.php on line 9
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.4191 24866056 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin-header.php’ ) …/plugins.php:486
3 0.4191 24866120 header ( ) …/admin-header.php:9( ! ) Warning: Cannot modify header information – headers already sent by (output started at /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php:41) in /srv/www/example.com/current/web/wp/wp-includes/option.php on line 961
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.4191 24866056 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin-header.php’ ) …/plugins.php:486
3 0.4193 24866504 wp_user_settings( ) …/admin-header.php:70
4 0.4196 24866544 setcookie ( ) …/option.php:961( ! ) Warning: Cannot modify header information – headers already sent by (output started at /srv/www/example.com/current/web/app/plugins/simple-taxonomy-refreshed/includes/class-simpletaxonomyrefreshed-client.php:41) in /srv/www/example.com/current/web/wp/wp-includes/option.php on line 962
Call Stack
# Time Memory Function Location
1 0.0014 502232 {main}( ) …/plugins.php:0
2 0.4191 24866056 require_once( ‘/srv/www/example.com/current/web/wp/wp-admin/admin-header.php’ ) …/plugins.php:486
3 0.4193 24866504 wp_user_settings( ) …/admin-header.php:70
4 0.4196 24866552 setcookie ( ) …/option.php:962
The topic ‘Issues with PHP 7.4’ is closed to new replies.