• Resolved gogosacco

    (@gogosacco)


    When I start the preloader, I always get the familiar error message “An unexpected request was received”. The error that causes this message is:

    [23-Jun-2022 12:42:30 UTC] PHP Fatal error:  Uncaught Error: Call to a member function set_loggers() on null in /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php:336
    Stack trace:
    #0 /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php(303): Updraft_Task_Manager_1_3->get_task_instance()
    #1 /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php(258): Updraft_Task_Manager_1_3->get_tasks()
    #2 /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php(140): Updraft_Task_Manager_1_3->get_active_tasks()
    #3 /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/includes/class-wp-optimize-preloader.php(147): Updraft_Task_Manager_1_3->process_queue()
    #4 /home/fellenruiter/public_html/wp-content/plugins/wp-op in /home/fellenruiter/public_html/wp-content/plugins/wp-optimize/vendor/team-updraft/common-libs/src/updraft-tasks/class-updraft-task-manager.php on line 336

    Then I start it a second time. Then the preloader starts and begins to enumerate. But unfortunately it always stops. The process never runs! Once it stops after 31 preloads, once after 12, once after 51` etc. etc. completely randomly. however, it has never gone beyond the 51 urls.

    Since the preloader takes the urls from the sitemap.xml, I created a sitemap specially. but the same error happens with the sitemap too. By the way, there is no error message in the log.

Viewing 4 replies - 1 through 4 (of 4 total)
  • @gogosacco I’ll check this issue with our development team and update you soon, meanwhile could you please rollback to 3.2.3 version and check if works?

    Thread Starter gogosacco

    (@gogosacco)

    @bornforphp unfortunately it happens the same with the 3.2.3 version.
    I increased the value for max_execution_time. it did’n change nothing. The WordPress Version is 6.0.

    Thread Starter gogosacco

    (@gogosacco)

    I have wp-optimize also installed on other wp installations. there it works like charm. And by the way, good job!

    Plugin Contributor Venkat Raj

    (@webulous)

    Hi @gogosacco ,

    We do batch processing for preload. i.e. we create a task for every URL.
    Somehow, when a task is no longer available , the above mentioned issue is happening and will be fixed in the upcoming release.

    Regards,
    Venkat

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

The topic ‘Preload stops after a while and never ends’ is closed to new replies.