Title: Call to undefined function ray()
Last modified: December 26, 2022

---

# Call to undefined function ray()

 *  Resolved [jbnetat](https://wordpress.org/support/users/jbnetat/)
 * (@jbnetat)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-ray/)
 * Hi,
 * using the plugin causes a lot of errors is my logs:
 *     ```wp-block-code
       Error: Call to undefined function PublishPressFuture\Modules\Expirator\Models\ray() wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php:266
   
       Stack-Trace
   
       0 wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php(145): PublishPressFuture\Modules\Expirator\Models\ExpirablePostModel->getExpirationTaxonomy()
   
       1 wp-content/plugins/post-expirator/src/Modules/Expirator/Models/ExpirablePostModel.php(370): PublishPressFuture\Modules\Expirator\Models\ExpirablePostModel->getExpirationDataAsArray()
   
       2 wp-content/plugins/post-expirator/src/Modules/Expirator/Controllers/ExpirationController.php(121): PublishPressFuture\Modules\Expirator\Models\ExpirablePostModel->expire(false)
   
       3 wp-includes/class-wp-hook.php(308): PublishPressFuture\Modules\Expirator\Controllers\ExpirationController->onActionRunPostExpiration(13401)
   
       4 wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
   
       5 wp-includes/plugin.php(565): WP_Hook->do_action(Array)
   
       6 wp-cron.php(188): do_action_ref_array('publishpressfut…', Array)
   
       7 {main}
   
       array(4) {["url"] => string(76) "/wp-cron.php?doing_wp_cron=167xxxxxxxxxxx"["referrer"] => string(99) "wp-cron.php?doing_wp_cron=167xxxxxxxxxxx"["_GET"] => array(1) {["doing_wp_cron"] => string(33) "167xxxxxxxxxxx"}["_POST"] => array(0) {}}
       ```
   
 * I had to deinstall and remove it now.
 * Not recommended for any productive use.
    -  This topic was modified 3 years, 5 months ago by [jbnetat](https://wordpress.org/support/users/jbnetat/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-ray/#post-16323360)
 * Hi [@jbnetat](https://wordpress.org/support/users/jbnetat/)
 * Thanks for reporting this error.
 * If you or anyone else is interested in the follow-up, please check this Github
   issue: [https://github.com/publishpress/PublishPress-Future/issues/326](https://github.com/publishpress/PublishPress-Future/issues/326)

Viewing 1 replies (of 1 total)

The topic ‘Call to undefined function ray()’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-ray/#post-16323360)
 * Status: resolved