Title: PHP 8 Call to undefined function create_function()
Last modified: October 6, 2022

---

# PHP 8 Call to undefined function create_function()

 *  [Josiah](https://wordpress.org/support/users/colewebdev/)
 * (@colewebdev)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-call-to-undefined-function-create_function/)
 * When testing PHP 8 I’m getting the following error on the front end page (where
   the form is embedded), and also in the admin when attempting to edit the form,
   or the page on which it’s embedded.
 * Call to undefined function create_function()

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-call-to-undefined-function-create_function/#post-16077330)
 * Where can we see the website in question?

Viewing 1 replies (of 1 total)

The topic ‘PHP 8 Call to undefined function create_function()’ is closed to new 
replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/php-8-call-to-undefined-function-create_function/#post-16077330)
 * Status: not resolved