Title: create_function &amp; other Errors
Last modified: November 11, 2021

---

# create_function & other Errors

 *  [TwisteD](https://wordpress.org/support/users/twistedde/)
 * (@twistedde)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/create_function-other-errors/)
 * Hey Guys,
    since PHP 7.2, create_function has been deprecated and since PHP 8.0
   this function has been removed.
 * I changed Line 60 in getyourguide-widget.php to:
 *     ```
       add_action( 'widgets_init', 'GetYourGuide_Widget' );
       function GetYourGuide_Widget() { 
           register_widget( 'GetYourGuide_Widget' );
       }
       ```
   
 * and so I can install the Plugin.
 * Unfortunately, the blocks and widgets still bring errors to Gutenberg.
 * The currency and language settings are not output either, but are saved.
    Do 
   you plan to fix this?

The topic ‘create_function & other Errors’ is closed to new replies.

 * ![](https://ps.w.org/getyourguide-widget/assets/icon-256x256.png?rev=2557514)
 * [GetYourGuide WordPress plugin](https://wordpress.org/plugins/getyourguide-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/getyourguide-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/getyourguide-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/getyourguide-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/getyourguide-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/getyourguide-widget/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [TwisteD](https://wordpress.org/support/users/twistedde/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/create_function-other-errors/)
 * Status: not resolved