Deprecated use of braces and more
-
Hi,
When having wordpress debug on this plugin gives a ton of errors and breaks the functionality of wordpress.
Now, this is only when debug is on, but it makes it much harder to develop when using this plugin.
One issue is( ! ) Deprecated: Array and string offset access syntax with curly braces is deprecated in C:\xampp\htdocs\fp-dev\wp-content\plugins\event-organiser\includes\class-eo-ical-parser.php on line 331 Call Stack # Time Memory Function Location 1 0.0011 520072 {main}( ) ...\plugins.php:0 2 0.0017 559200 require_once( 'C:\xampp\htdocs\fp-dev\wp-admin\admin.php' ) ...\plugins.php:10 3 0.0019 569840 require_once( 'C:\xampp\htdocs\fp-dev\wp-load.php' ) ...\admin.php:34 4 0.0022 580968 require_once( 'C:\xampp\htdocs\fp-dev\wp-config.php' ) ...\wp-load.php:37 5 0.0027 660024 require_once( 'C:\xampp\htdocs\fp-dev\wp-settings.php' ) ...\wp-config.php:99 6 0.1544 21595320 include_once( 'C:\xampp\htdocs\fp-dev\wp-content\plugins\event-organiser\event-organiser.php' ) ...\wp-settings.php:371
and then you get a lot of these:
( ! ) Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\fp-dev\wp-content\plugins\event-organiser\includes\class-eo-ical-parser.php:331) in C:\xampp\htdocs\fp-dev\wp-includes\functions.php on line 6221 Call Stack # Time Memory Function Location 1 0.0011 520072 {main}( ) ...\plugins.php:0 2 0.0017 559200 require_once( 'C:\xampp\htdocs\fp-dev\wp-admin\admin.php' ) ...\plugins.php:10 3 0.4159 36924624 do_action( ) ...\admin.php:170 4 0.4159 36925000 WP_Hook->do_action( ) ...\plugin.php:478 5 0.4159 36925000 WP_Hook->apply_filters( ) ...\class-wp-hook.php:311 6 0.4171 37028024 send_frame_options_header( ) ...\class-wp-hook.php:285 7 0.4171 37028024 header ( ) ...\functions.php:6221
I’m using PHP 7.4.2 and WordPress 5.4.1 on Apache 2.4.4.1 on windows (xampp)
- The topic ‘Deprecated use of braces and more’ is closed to new replies.