• Resolved youdidnt

    (@youdidnt)


    Hello, I have few pages and got same problems on each.
    Autoptimize got a lot of php errors and this is huge problem when you got huge website. After few days I got few GB of php errors logs because of autoptimize.
    The problem has always been here, I was counting on some fixes a few months ago, but nothing has changed in this matter.
    Frequently recurring errors:

    PHP Warning: strpos(): Empty needle in /autoptimize/classes/autoptimizeCache.php on line 152

    PHP Notice: Undefined index: host in /autoptimize/classes/autoptimizeExtra.php on line 287

    Errors visible in query monitor:

        /autoptimize/classes/autoptimizeCache.php:152
        strpos()
        /autoptimize/classes/autoptimizeCache.php:152
        autoptimizeCache::is_valid_cache_file()
        /autoptimize/classes/autoptimizeCache.php:464
        autoptimizeCache::stats_scan()
        /autoptimize/classes/autoptimizeCache.php:431
        autoptimizeCache::stats()
        /autoptimize/classes/autoptimizeToolbar.php:50
        autoptimizeToolbar->add_toolbar()
        wp-includes/class-wp-hook.php:288
        do_action_ref_array('admin_bar_menu')
        wp-includes/admin-bar.php:86
        wp_admin_bar_render()
        wp-includes/class-wp-hook.php:288
        do_action('in_admin_header')
        wp-admin/admin-header.php:245

    PHP 7.3
    Apache and also Nginx
    Version: 2.5.1
    WP 5.3

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A lot of warnings in my logs’ is closed to new replies.