• Resolved jremsa

    (@jremsa)


    We’ve been getting a Fatal error (Call to undefined function) in the Future Action column of the posts listing table of a Custom Post section of the WordPress Admin ever since the release of 3.0.0. It crashes the admin page preventing the user from navigating the posts.

    The error refers to the as_has_scheduled_action function in the CronToWooActionSchedulerAdapter.php file. We also have WooCommerce installed. If I deactivate WooCommerce, the custom post admin page works as expected. Alternatively, if I comment out line 57 in post-expirator/src/Modules/Expirator/Adapters/CronToWooActionSchedulerAdapter.php, it also works.

    Here is the error:

    Fatal error: Uncaught Error: Call to undefined function PublishPress\Future\Modules\Expirator\Adapters\as_has_scheduled_action() in /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/src/Modules/Expirator/Adapters/CronToWooActionSchedulerAdapter.php:57 Stack trace: #0 /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/src/Modules/Expirator/ExpirationScheduler.php(165): PublishPress\Future\Modules\Expirator\Adapters\CronToWooActionSchedulerAdapter->postHasScheduledActions(55273) #1 /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php(326): PublishPress\Future\Modules\Expirator\ExpirationScheduler->postIsScheduled(55273) #2 /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php(166): PublishPress\Future\Modules\Expirator\Models\ExpirablePostModel->isExpirationEnabled() #3 /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/legacy/functions.php(178): PublishPress\Fu in /Applications/MAMP/htdocs/OFN/wp-content/plugins/post-expirator/src/Modules/Expirator/Adapters/CronToWooActionSchedulerAdapter.php on line 57

    Is this something you can fix?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with WooCommerce (v.3.0.0 – 3.0.6)’ is closed to new replies.