• There is a bug in options.php line 975 when using memcached:

    Warning: Illegal string offset ‘[setting with nul value]’ in /[wp-path]/wp-includes/option.php on line 975

    This change fixes the issue, but I have to reapply it every time I update WordPress:

    if (isset($notoptions[$option])) {
    $notoptions[$option] = true;
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • If this is genuinely a bug (and you have tested this with the default theme and plugins disabled to verify, yes?), then you need to report it here:

    https://core.trac.wordpress.org/

    and not in the forum.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I don’t have this issue and I use memcached. What flavor and version of PHP are you running? Are you using any Memcached plugins?

    Thread Starter DavidVeksler

    (@davidveksler)

    PHP Version 5.5.9-1ubuntu4.3
    memcache version 3.0.8
    nginx/1.4.6

    It seems that the issue happens when checking for an option that is not set. I get this warning list on every page:

    Warning: Illegal string offset ‘_dpa_db_version’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_theme_package_id’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_achievements_per_page’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_achievements_per_rss_page’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_root_slug’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_singular_root_slug’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_progresses_per_page’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_progresses_per_rss_page’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_stats_last_achievement_id’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_dpa_stats_last_achievement_user_id’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘autoblog_networkactivated_addons’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘wds_autolinks_options’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘wds_seomoz_options’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘wdpv_activated_plugins’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘_bp_retain_bp_default’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘wds_autolinks_options’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Warning: Illegal string offset ‘wds_seomoz_options’ in /var/www/liberty.me/wp-includes/option.php on line 975

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I think those are specific to your plugins, sadly, as I don’t have any of those in my error logs 🙁

    I’m on PHP 5.5.15, CentOS6, Apache 2.4

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘wordpress has a memcached bug’ is closed to new replies.