Illegal offset type in /option.php
-
Hi all,
I’ve just upgraded my WordPress to the latest (4.7) version, along with Genesis and all my plugins and now I get few errors that I can’t get rid of. I was browsing through forums and can’t find nothing useful.
these are the errors:
Warning: Illegal offset type in /home/pelma30/pelamarela.com/wp-includes/option.php on line 1924
Warning: Illegal offset type in /home/pelma30/pelamarela.com/wp-includes/option.php on line 1924Warning: Cannot modify header information – headers already sent by (output started at /home/pelma30/pelamarela.com/wp-includes/option.php:1924) in /home/pelma30/pelamarela.com/wp-includes/option.php on line 828
Warning: Cannot modify header information – headers already sent by (output started at /home/pelma30/pelamarela.com/wp-includes/option.php:1924) in /home/pelma30/pelamarela.com/wp-includes/option.php on line 829
I went to the mentioned php file and found these on the mentioned lines:
1924: $wp_registered_settings[ $option_name ] = $args;
828: setcookie( ‘wp-settings-‘ . $user_id, $settings, time() + YEAR_IN_SECONDS, SITECOOKIEPATH, null, $secure );
829: setcookie( ‘wp-settings-time-‘ . $user_id, time(), time() + YEAR_IN_SECONDS, SITECOOKIEPATH, null, $secure );Sadly, I’m not that “fluent” in coding and I don’t see any obvious mistakes. I tried deleting the cache, deactivating plugins one by one, nothing seemed to work. Can anyone help?
- The topic ‘Illegal offset type in /option.php’ is closed to new replies.