Title: Fatal error with PHP7
Last modified: May 10, 2018

---

# Fatal error with PHP7

 *  [Orlandoo](https://wordpress.org/support/users/orlandoo/)
 * (@orlandoo)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-with-php7/)
 * Fatal error: Cannot use $this as parameter in …/wp-content/plugins/advanced-text-
   widget-pro/pro/functions.php on line 87
    (at least Pro version)
 * Also thows some warnings:
    Methods with the same name as their class will not
   be constructors in a future version of PHP; advanced_text has a deprecated constructor
   in …/wp-content/plugins/advanced-text-widget-pro/advancedtext.php on line 22
 * function create_function() is deprecated in …/wp-content/plugins/advanced-text-
   widget-pro/advancedtext.php on line 96
 * Notice: The called constructor method for WP_Widget is deprecated …
    -  This topic was modified 8 years, 1 month ago by [Orlandoo](https://wordpress.org/support/users/orlandoo/).
    -  This topic was modified 8 years, 1 month ago by [Orlandoo](https://wordpress.org/support/users/orlandoo/).
      Reason: Found more bugs

The topic ‘Fatal error with PHP7’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-text-widget_918389.svg)
 * [Advanced Text Widget](https://wordpress.org/plugins/advanced-text-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-text-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-text-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-text-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-text-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-text-widget/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Orlandoo](https://wordpress.org/support/users/orlandoo/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-with-php7/)
 * Status: not resolved