• Resolved sumomario

    (@sumomario)


    Hi, the plugin is really great, but I have some issue with disabling plugins.

    Not related: APCu php extension for object caching is now disabled, because I have another issue with object caching.

    I was using it alongside WP Fastest cache for testing for the last hours.
    I tried to disable WP Fastest cache, but it caused Fatal error.
    Next I tried to disable any plugin and got the same error.

    WordPress 6.7.1
    Hello Elementor Child
    atec Cache APCu (2.1.12)
    PHP 8.3.14

    An E_ERROR error was caused on line 161 of the file …/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-pcache-tools.php.
    Error message: Uncaught Error: Class “APCUIterator” not found in …/wp-content/plugins/atec-cache-apcu/includes/atec-cache-apcu-pcache-tools.php:28
    Stack trace: 0 …/wp-includes/class-wp-hook.php(326): atec_wpca_delete_page_cache_all(‘wp-fastest-cach…’) 1 …/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) 2 …/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 3 …/wp-admin/includes/plugin.php(840): do_action(‘deactivated_plu…’, ‘wp-fastest-cach…’, false) 4 …/wp-admin/plugins.php(211): deactivate_plugins(‘wp-fastest-cach…’, false, false) 5 {main} thrown

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author docjojo

    (@docjojo)

    Hello,
    Do not use multiple page cache plugins simultaneously.
    That will mix things up, guaranteed.

    If you have APCu enabled and activate atec-cache-apcu, object-cache.php file will be installed, which depends on APCu.
    If afterwards you disable APCu without disabling atec-cache-apcu, the object-cache.php stays installed, but can not work, because APCu is missing.

    Keep in mind that atec-cache-apcu enables object caching. Page caching is an add on, but two different shoes.

    Thread Starter sumomario

    (@sumomario)

    I guessed that. Yes I use only page caching. It’s great for now.

    But the error is I cannot disable or update any plugin. Fastest cache is just an example.
    Anyways I will try manually remove and reinstall the plugin and see if it happens again.

    Plugin Author docjojo

    (@docjojo)

    You can use the APCu object-cache together with a page cache plugin but not two page-cache plugins at the same time.

    Plugin Author docjojo

    (@docjojo)

    atec-cache-apcu page caching does not come without object-cache.
    it is installed on activation.
    if you do not want object-cache, you can try wpmegacache.com

    for the plugin issue, flush the WP object-cache to update the “installed” status.
    that is a known issue with persistent oc.

    Plugin Author docjojo

    (@docjojo)

    If you expierence issues with the latest update v2.1.84, please rename or delete the file /wp-content/object-cache.php, reload and enable object caching again.

    This should solve the issue.

    Plugin Author docjojo

    (@docjojo)

    I’ve just uploaded v2.1.87, give it a try if you want.

    Plugin Author docjojo

    (@docjojo)

    New version is available, please update and let me know.

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

The topic ‘Error while disabling pugins’ is closed to new replies.