Title: Fatal Errors post php 7.4
Last modified: October 31, 2022

---

# Fatal Errors post php 7.4

 *  [pgogy](https://wordpress.org/support/users/pgogy/)
 * (@pgogy)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-post-php-7-4/)
 * Hello
 * The plugin throws fatal errors due to syntax errors in includes/admin/tbex-addons.
   php
 * Swapping the two lines to
 *     ```
       $array_name = "addons_" . $type;
   
       				$array_name[ $addon ] = $addon_data;
       				if($type=="official"){
       					$addons_by_type = $addons_official;
       				}else if($type=="supported"){
       					$addons_by_type = $addons_supported;
       				}else{
       					$addons_by_type = $addons_recommended;
       				}
       ```
   
 * Fixed it for me
 * Hope this helps but guessing this plugin might not be worked on anymore

The topic ‘Fatal Errors post php 7.4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/toolbar-extras_ab89d8.svg)
 * [Toolbar Extras for Elementor & More - WordPress Admin Bar Enhanced](https://wordpress.org/plugins/toolbar-extras/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/toolbar-extras/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/toolbar-extras/)
 * [Active Topics](https://wordpress.org/support/plugin/toolbar-extras/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/toolbar-extras/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/toolbar-extras/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [pgogy](https://wordpress.org/support/users/pgogy/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-post-php-7-4/)
 * Status: not resolved