Title: Error: Call to undefined function
Last modified: December 24, 2022

---

# Error: Call to undefined function

 *  Resolved [outrospective](https://wordpress.org/support/users/outrospective/)
 * (@outrospective)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-3/)
 * Hi. I have an issue that appears in the error.log, but doesn’t affect the functionality.
   Still, I think it’s worth an effort to figure out why.  It’s always the same 
   issue and repeating:
 * PHP Fatal error: Uncaught Error: Call to undefined function PublishPressFuture\
   Modules\Expirator\Models\ray() in /home/……/wp-content/plugins/post-expirator/
   src/Modules/Expirator/Models/ExpirablePostModel.php:266
 * thrown in /home/…../wp-content/plugins/post-expirator/src/Modules/Expirator/Models/
   ExpirablePostModel.php on line 266
 * As mentioned, the plugin works, but something is off
 * Im using WordPress 6.1.1 and PHP 8.1.11
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-call-to-undefined-function-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-3/#post-16323367)
 * Thanks [@outrospective](https://wordpress.org/support/users/outrospective/). 
   We’ve had a second report of this and there will be probably be a small bug-fix
   release for this early in January. Please follow this for more: [https://github.com/publishpress/PublishPress-Future/issues/326](https://github.com/publishpress/PublishPress-Future/issues/326)
 *  Thread Starter [outrospective](https://wordpress.org/support/users/outrospective/)
 * (@outrospective)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-3/#post-16323376)
 * Great! Thanks a lot. Looking forward for the bug fix.

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

The topic ‘Error: Call to undefined function’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3118683)
 * [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/)

 * 2 replies
 * 2 participants
 * Last reply from: [outrospective](https://wordpress.org/support/users/outrospective/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/error-call-to-undefined-function-3/#post-16323376)
 * Status: resolved