Title: create_function error in essential-grid
Last modified: December 12, 2018

---

# create_function error in essential-grid

 *  [froekjaer](https://wordpress.org/support/users/froekjaer/)
 * (@froekjaer)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/)
 * Hi
    Is there are way to replace this deprecated function? I get this error:
 * Deprecated: Function create_function() is deprecated in /customers/7/7/6/feicon.
   dk/httpd.www/wp-content/plugins/essential-grid/essential-grid.php on line 98
 * The lines reads:
    add_action(‘widgets_init’, array(‘Essential_Grid’, ‘register_custom_sidebars’));
   add_action(‘widgets_init’, create_function(”, ‘return register_widget(“Essential_Grids_Widget”);’));
 * Any help appreciated.
 * Tom
    -  This topic was modified 7 years, 5 months ago by [froekjaer](https://wordpress.org/support/users/froekjaer/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcreate_function-error-in-essential-grid%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Jacob Peattie](https://wordpress.org/support/users/jakept/)
 * (@jakept)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978630)
 * This is something Essential Grid will need to fix to be properly compatible with
   PHP 7.2+.
 * If you use a commercial theme or plugin and need support, please go to their 
   official support channel. In order to be good stewards of the WordPress community,
   and encourage innovation and progress, we feel it’s important to direct people
   to those official locations.
 * [https://www.themepunch.com/support-center](https://www.themepunch.com/support-center)
 * Forum volunteers are also not given access to commercial products, so they would
   not know why your commercial theme or plugin is not working properly. This is
   one other reason why volunteers forward you to the commercial product’s vendors.
   The vendors are responsible for supporting their commercial product.
 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978637)
 * If you want this plugin to work with current WordPress and PHP, then perhaps 
   the best approach would be to update it, although it’s a commercial plugin?
 * Even if you manage to eliminate this problem yourself, you’ll likely encounter
   more problems down the road (compatibility with the new editor environment and
   current PHP, security flaws, etc.)
 *  Thread Starter [froekjaer](https://wordpress.org/support/users/froekjaer/)
 * (@froekjaer)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978685)
 * Thanks for the answers. Problem is that I have “inherited” a website full of 
   errors and don’t have any records of purchases.
 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978766)
 * If you inherited a site, then, most probably, any support period has already 
   lapsed. So you could either start a new subscription, or if you still can get
   hold of your content, try to recreate your site with some other theme and plugins.
 *  Thread Starter [froekjaer](https://wordpress.org/support/users/froekjaer/)
 * (@froekjaer)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978805)
 * Hej Tor-Björn
 * Yes, you are right. I will suggest to make a new website as I cannot even login
   to the admin anymore (maybe 5.0 upgrade?).
 *  Moderator [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * (@tobifjellner)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978958)
 * If you connect via ftp and rename the directory /wp-content/plugins/ (for instance
   into /wp-content/plugins-old/
    And possibly rename the directory of your active
   theme then WordPress should load one of the twenty-something themes and let you
   log in.

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

The topic ‘create_function error in essential-grid’ is closed to new replies.

## Tags

 * [create_function](https://wordpress.org/support/topic-tag/create_function/)
 * [PHP 7.2](https://wordpress.org/support/topic-tag/php-7-2/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [tobifjellner (Tor-Bjorn “Tobi” Fjellner)](https://wordpress.org/support/users/tobifjellner/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/create_function-error-in-essential-grid/#post-10978958)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
