Title: Deprecated: Function create_function()
Last modified: December 31, 2018

---

# Deprecated: Function create_function()

 *  [developer210](https://wordpress.org/support/users/developer210/)
 * (@developer210)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-create_function-8/)
 * Hello,
    After updating the PHP Version to 7.2 we are getting a errors Deprecated:
   Function create_function() is deprecated in /customers/3/6/9/vakantiewoning-in-
   zuid-frankrijk.be/httpd.www/wp-content/themes/Tigerdesign/inc/init.php on line
   22
 * Warning: session_start(): Cannot start session when headers already sent in /
   customers/3/6/9/vakantiewoning-in-zuid-frankrijk.be/httpd.www/wp-content/plugins/
   unyson/framework/includes/hooks.php on line 258
 * Notice: woocommerce_get_page_id is deprecated since version 3.0! Use wc_get_page_id
   instead. in /customers/3/6/9/vakantiewoning-in-zuid-frankrijk.be/httpd.www/wp-
   includes/functions.php on line 3888
 * Notice: WC_Cart::get_cart_url is deprecated since version 2.5! Use wc_get_cart_url
   instead. in /customers/3/6/9/vakantiewoning-in-zuid-frankrijk.be/httpd.www/wp-
   includes/functions.php on line 3888
 * Can you please help us
    Thanks
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-function-create_function-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-create_function-8/#post-11040231)
 * 1. Moved to “fixing wordpress” as this is not an “alpha/beta/rc” issue.
 * 2. These are warnings and notices, not fatal errors. Disable WP_DEBUG in your
   wp-config.php.
 * 3. The one serious issue seems to come from the plugin “unyson”. I recommend 
   asking at [https://wordpress.org/support/plugin/unyson#new-post](https://wordpress.org/support/plugin/unyson#new-post)
   so the plugin’s developers and support community can help you with this. See 
   [https://wordpress.org/support/topic/important-support-is-on-github-not-here-2](https://wordpress.org/support/topic/important-support-is-on-github-not-here-2)

Viewing 1 replies (of 1 total)

The topic ‘Deprecated: Function create_function()’ is closed to new replies.

## Tags

 * [function error](https://wordpress.org/support/topic-tag/function-error/)
 * [version](https://wordpress.org/support/topic-tag/version/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/deprecated-function-create_function-8/#post-11040231)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
