• I’ve had the plugin installed for at least a few weeks, and suddenly I get this error when trying to load the site:
    Warning: strpos() [function.strpos]: Empty delimiter

    I cannot log into admin, and had to delete the plugin via FTP before I could log in.

    Any thoughts on how to prevent this?

    https://ww.wp.xz.cn/plugins/wp-super-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    let me add more details to this issue:
    While running wp-cron.php using following crontab record instead of wget, curl or without control and having the define(‘DISABLE_WP_CRON’, true) constant setup in wp-config.php I keep getting this Warnign with attached stack trace.

    CRONTAB:

    */5 * * * * cd /var/www/xxxxxxxxxxxxxx/public_html; php /var/www/xxxxxxxxxxxxxxxxx/public_html/wp-cron.php > /dev/null 2>&1

    STACK TRACE:
    E_WARNING: strpos(): Empty delimiter

    …xxxxxxxxxx/public_html/wp-content/plugins/wp-super-cache/
    wp-cache-phase1.php (542)
    …/www/xxxxxxxxxx/public_html/wp-content/plugins/wp-super-cache/
    wp-cache.php (2860)
    …/www/xxxxxxxxxx/public_html/wp-content/plugins/wp-super-cache/
    wp-cache.php (2992)
    in wp_cron_preload_cache called at ? (?)
    …unc_array called at /var/www/xxxxxxxxxx/public_html/wp-includes/
    plugin.php (580)
    … do_action_ref_array called at /var/www/xxxxxxxxxx/public_html/
    wp-cron.php (103)

    This happens once in a while, not each run of wp-cron so the cron respects my prefetch settings. Version of WP SUPER CACHE: 1.4.2. PHP version 5.4.4

    I have removed wp super cache completely, clean wp-config.php, re-install the plugin. I’m not seeing this issue anymore.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Warning: strpos() [function.strpos]: Empty delimiter’ is closed to new replies.