• Resolved Purusha

    (@gphoenix5727)


    This addition to Autoptimize worked really well for a while. Now it is stuck… The job queue is filling up and rules are not being created./ The AOCSS cron job is happeneing but it does nothing. I have been through the earlier discussions on this topic without any success. What can I do to kick-start it?

    Please help this is so frustating. I cannot see what is happening or what is blocking things…

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Can you disable the power-up to allow Autoptimize, which as from version 2.7.0 has all critical CSS functionality included, to take over gphoenix5727 ? Let me know if that does not kick things back in motion!

    kind regards,
    frank

    Thread Starter Purusha

    (@gphoenix5727)

    I should have said that I’m not using Power-Up but CCSS directly in AO. The cron appears to be working normally, it is being called but not doing anything. The job queue remains unprocessed with no rules being created. It was working fine before, but clealry I have either changed something or something has happened. The site is so much faster with AO and CCSS, I need to resolve this.

    Many thanks
    Purusha

    Thread Starter Purusha

    (@gphoenix5727)

    I have just seen that there is a message at the top of the AO screen:

    “It looks like there might be a problem with WordPress cron (task scheduling). Have a look at the FAQ or the info in the Job Queue instructions if all jobs remain in “N” status and no rules are created.

    Thread Starter Purusha

    (@gphoenix5727)

    Cron Event List:

    Hook: ao_ccss_queue
    Next Run: 2020-07-28 11:44:40 – 6 minutes 40 seconds
    Action: autoptimizeCriticalCSSCron->ao_ccss_queue_control()
    Recurrence: Autoptimize CriticalCSS

    Cron Log:

    2020-07-28 11:34:55 0s Done wp-cron.php 🎉
    0s Finished ao_ccss_queue
    Starts ao_ccss_queue

    Thread Starter Purusha

    (@gphoenix5727)

    I’ve tried setting: “define(‘ALTERNATE_WP_CRON’, true);” in WP-CONFIG.PHP, there seems to be no change.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    can you check if there is a stale queue.lock file in wp-content/uploads/ao_ccss/ and if so delete that?

    (to be clear; even if the queue is not processed your existing rules will remain active and critical CSS will be used, the only impact would be new pages not having critical CSS yet and CCSS not updating when CSS changes)

    frank

    Thread Starter Purusha

    (@gphoenix5727)

    I have shifted the fiiring of Cron to my server with: “wget -qO- https://satpurusha.com/wp-cron.php &> /dev/null” running every 5 minutes. Seems to be no change. Job Queue growing and no rules.

    Thread Starter Purusha

    (@gphoenix5727)

    Deleted queue.lock. I understand but I am doing a lot of cganges to files and css at the moment so I need things pretty up to date. I removed the existing rules to reset the CCSS but now there are none…

    Thread Starter Purusha

    (@gphoenix5727)

    It appears to be moving… I’m going out now, will report back later.

    many thanks.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    That’s good news gphoenix5727 🙂

    Thread Starter Purusha

    (@gphoenix5727)

    Yes, it’s working now, thanks for your help.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome, feel free to leave a review of the plugin and support here! 🙂

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

The topic ‘Job Queue Not Processing’ is closed to new replies.