Title: PHP critical error
Last modified: August 2, 2023

---

# PHP critical error

 *  Resolved [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/)
 * Hi there,
 * First of all, it’s a great Plugin! But since I updated to the 3.0.0+ version,
   i cannot edit any blog post. I got the error message:
 * ![](https://i0.wp.com/onetinfo.ch/_flueck/wp-content/uploads/2023/08/Bildschirmfoto-
   2023-08-02-um-10.54.12.png?ssl=1)
 * In the error logs, i get the following error messages:
   stderr: PHP Fatal error:
   Uncaught Error: Call to undefined function PublishPress\Future\Modules\Expirator\
   Adapters\as_has_scheduled_action() in /home/onetinfo/www/onetinfo.myhostpoint.
   ch/_flueck/wp-content/plugins/post-expirator/src/Modules/Expirator/Adapters/CronToWooActionSchedulerAdapter.
   php:57, referer [https://onetinfo.ch/_flueck/wp-admin/update-core.php?action=do-plugin-upgrade](https://onetinfo.ch/_flueck/wp-admin/update-core.php?action=do-plugin-upgrade)
 * Version:
   WordPress: 6.2.2PHP: 8.2PublishPress Future: 3.0.6
 * What could be the reason?
   Thanks and RegardsONET

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

 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16941262)
 * i correct: not a _PHP critical error_ «just» a **critical error** in the menu
   Posts/Beiträge – Please excuse the confusion
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16942936)
 * Hi [@onetonet](https://wordpress.org/support/users/onetonet/)
 * Thanks for using PublishPress Future.
 * Can you try to edit the post and re-save it? Does it still show the issue?
 * Also is it also happens when you create new post?
 * Thanks,
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16943489)
 * [@rizaardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * Thanks for your reply!
   The case is, i have over 150 Posts, and it’s only showing
   1 and the other are like disappear but still here. If i try to edit a post, i
   get successfully on the post edit page. But if i then want to make some settings,
   nothing happens – If i click on «edit/bearbeiten» nothing happens.
 * ![](https://i0.wp.com/onetinfo.ch/_flueck/wp-content/uploads/2023/08/Bildschirmfoto-
   2023-08-03-um-09.18.55.png?ssl=1)
 * Thanks and greetings
   ONET
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16945966)
 * [@onetonet](https://wordpress.org/support/users/onetonet/) The “edit/bearbeiten”
   is from default WordPress, not from our plugin.
 * Can you please try right click > Inspect. Did you see any error on console tab?
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16946496)
 * [@rizaardiyanto](https://wordpress.org/support/users/rizaardiyanto/) Yes that
   is true, i wanted to say that i cannot klick/use any button or function in the
   edit section. I got the flow error in the console.
 * ![](https://i0.wp.com/onetinfo.ch/_flueck/wp-content/uploads/2023/08/Bildschirmfoto-
   2023-08-04-um-09.35.22.png?ssl=1)
 * I also get in the error log’s following message:
   Uncaught Error: Call to undefined
   function PublishPress\Future\Modules\Expirator\Adapters\as_has_scheduled_action()
   in /home/onetinfo/www/onetinfo.myhostpoint.ch/_flueck/wp-content/plugins/post-
   expirator/src/Modules/Expirator/Adapters/CronToWooActionSchedulerAdapter.php:
   57, referer [https://onetinfo.ch/_flueck/wp-admin/update-core.php?action=do-plugin-upgrade](https://onetinfo.ch/_flueck/wp-admin/update-core.php?action=do-plugin-upgrade)
 * Does this help? Thanks and regards
   ONET
 *  Plugin Author [andergmartins](https://wordpress.org/support/users/andergmartins/)
 * (@andergmartins)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16953942)
 * Hi [@onetonet](https://wordpress.org/support/users/onetonet/), please, could 
   you let us know if you are using a composer-based site and if you have WooCommerce
   installed (that plugin is not required, but important to know if it is there)?
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16962628)
 * Hi [@andergmartins](https://wordpress.org/support/users/andergmartins/) 
   My message
   wasn’t sent – Sorry!We are using the Theme «Flatsome» with the Visual Editor «
   UX-Builder». WooCommerce is not installed and not in use. What i also saw is,
   on the Backend site «Pages» is the same error message, when i activate your Plugin–
   if i deactivated it works all.Thanks for your help and regardsONET
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-16998572)
 * Hi There
 * What is the latest update?
 * Thank you and greetings
   ONET
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-17001262)
 * [@onetonet](https://wordpress.org/support/users/onetonet/) We did not have a 
   solution yet, but we have created a GitHub issue for it. You can check if there
   any progress here: [https://github.com/publishpress/PublishPress-Future/issues/529](https://github.com/publishpress/PublishPress-Future/issues/529)
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-17005647)
 * [@rizaardiyanto](https://wordpress.org/support/users/rizaardiyanto/) Ok, thank
   you for the update and the Link.
 *  Thread Starter [ONET](https://wordpress.org/support/users/onetonet/)
 * (@onetonet)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-17065821)
 * Hi Guys
   I saw that the GitHub issue is marketed as «closed» with the message «
   I can’t replicate this on the 3.1.0 branch. We will need to release and see if
   they still has the issue.»It unfortunately still doesn’t work – I still get the
   error message.GreetingsONET
 *  Plugin Support [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * (@rizaardiyanto)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-17068002)
 * [@onetonet](https://wordpress.org/support/users/onetonet/) If you still get the
   error, I’m afraid it was site specific issue, meaning the issue only happen on
   your site.
 * In this kind of case, usually we will need login to your site in order for deeper
   investigation.
 * Unfortunately, it is prohibited in this forum to share login details: [https://wordpress.org/support/guidelines/#the-bad-stuff](https://wordpress.org/support/guidelines/#the-bad-stuff)
 * Our Pro users has an access to our private helpdesk where they can safely inform
   the login details in order for further troubleshooting.
 * If you prefer on the free version, we will not be able to do much unless you 
   could tell us how to replicate the issue on fresh WordPress installation
 * Thanks,

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

The topic ‘PHP critical error’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3569472)
 * [Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories](https://wordpress.org/plugins/post-expirator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-expirator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-expirator/)
 * [Active Topics](https://wordpress.org/support/plugin/post-expirator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-expirator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-expirator/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [Riza Maulana Ardiyanto](https://wordpress.org/support/users/rizaardiyanto/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/php-critical-error-4/#post-17068002)
 * Status: resolved