• Resolved Leonardo Burci

    (@leonardo-burci)


    Autoptimize criticalcss.com power-up did not register a cron job as per WP Crontrols’ list.
    Deactivating/reactivating didn’t help.
    Deactivating all non-essential plugins and trying again to de-/reactivate AOccss didn’t help.

    WP 5.1 Multisite (subdirs), Gutenberg disabled, PHP 7.3.2, LEMP-stack, system cron running every minute, WP cron jobs being executed just fine.

    PHP Error Log
    Mar 06, 01:46:02
    Warning: array_column() expects parameter 1 to be array, null given in /sites/outlines.xyz/files/wp-content/plugins/autoptimize-criticalcss/inc/cron.php on line 95

    Mar 06, 01:46:02
    Warning: count(): Parameter must be an array or an object that implements Countable in /sites/outlines.xyz/files/wp-content/plugins/autoptimize-criticalcss/inc/cron.php on line 92

    Mar 06, 01:36:01
    Warning: Invalid argument supplied for foreach() in /sites/outlines.xyz/files/wp-content/plugins/autoptimize-criticalcss/inc/cron.php on line 98

    If the PHP Warnings are irrelevant a first workaround could be to add the proper cron job manually via WP Crontrols. If so, please instruct.

    kind regards, Leonardo

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    the warnings indeed are irrelevant in this context Leonardo.

    re. registering the cronjob yourself; hook name is ao_ccss_queue, action should be ao_ccss_queue_control (which is in wp-content/plugins/ao_critcss_aas/inc/cron.php:34).

    hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Cron Job not registered’ is closed to new replies.