• Resolved joncon62

    (@joncon62)


    I get the following error when updating from 1.15.0 to 1.16.0

    Though this is on my localhost machine, I get this error also on online sites too. This only happens on an update, not a new install.

    Fatal error: Uncaught Error: Class ‘ActionScheduler_Lock’ not found in /Users/Jon/Sites/WORDPRESS localhost/events/wp-content/plugins/popup-maker/packages/action-scheduler/classes/abstracts/ActionScheduler.php:29 Stack trace: #0 /Users/Jon/Sites/WORDPRESS localhost/events/wp-content/plugins/popup-maker/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(103): ActionScheduler::lock() #1 /Users/Jon/Sites/WORDPRESS localhost/events/wp-includes/class-wp-hook.php(287): ActionScheduler_QueueRunner->maybe_dispatch_async_request(”) #2 /Users/Jon/Sites/WORDPRESS localhost/events/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #3 /Users/Jon/Sites/WORDPRESS localhost/events/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /Users/Jon/Sites/WORDPRESS localhost/events/wp-includes/load.php(1052): do_action(‘shutdown’) #5 [internal function]: shutdown_action_hook() #6 {main} thrown in /Users/Jon/Sites/WORDPRESS localhost/events/wp-content/plugins/popup-maker/packages/action-scheduler/classes/abstracts/ActionScheduler.php on line 29

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @joncon62 – Strange, do you have some type of opcache enabled? I ask because we no longer call those files, nor include them. In reality we never used the Action Scheduler library within the core plugin so we decided to remove it because its presence was causing edge case issues for some users on rare occasion.

    Seems though something has cached the class/file paths and is now calling them even though we are not.

    Can you try the WP Control plugin to see if there are some residual crons trying to run?

    FWIW i got this error also.

    [Tue Mar 23 21:13:54.961998 2021] [php7:error] [pid 9664] [client 108.12.202.82:39514] PHP Fatal error: Uncaught Error: Class 'ActionScheduler_Lock' not found in /nas/content/live/sitename/wp-content/plugins/popup-maker/packages/action-scheduler/classes/abstracts/ActionScheduler.php:29\nStack trace:\n#0 /nas/content/live/sitename/wp-content/plugins/popup-maker/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(103): ActionScheduler::lock()\n#1 /nas/content/live/sitename/wp-includes/class-wp-hook.php(292): ActionScheduler_QueueRunner->maybe_dispatch_async_request('')\n#2 /nas/content/live/sitename/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)\n#3 /nas/content/live/sitename/wp-includes/plugin.php(484): WP_Hook->do_action(Array)\n#4 /nas/content/live/sitename/wp-includes/load.php(1072): do_action('shutdown')\n#5 [internal function]: shutdown_action_hook()\n#6 {main}\n thrown in /nas/content/live/sitename/wp-content/plugins/popup-maker/packages/action-scheduler/classes/abstracts/ActionScheduler.php on line 29, referer: https://sitename.wpengine.com/wp-admin/plugins.php

    Hosted at wpengine – does that have anything to do with it?

    Hello @boblodi – sorry to hear that you are having those errors.

    The ActionScheduler_Lock error must be related to some type of caching, object caching or PHP opcache etc. Those files were included with the previous version of PM but never used so we removed them. Only an opcache could hypothetically still run code from those files that didn’t exist, so clearing it should be the fix.

    Could you please try to clear it again form your end?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on update to 1.16.0’ is closed to new replies.