Advanced Gutenberg needs at least PHP 5.6.20 version, please update php before installing the plugin.

'; } } //Add actions add_action('admin_init', 'advgb_disable_plugin'); add_action('admin_notices', 'advgb_show_error'); //Do not load anything more return; } if (! defined('ADVANCED_GUTENBERG_VERSION')) { define('ADVANCED_GUTENBERG_VERSION', '2.4.7'); } if (! defined('ADVANCED_GUTENBERG_PLUGIN')) { define('ADVANCED_GUTENBERG_PLUGIN', __FILE__); } if (!defined('GUTENBERG_VERSION_REQUIRED')) { define('GUTENBERG_VERSION_REQUIRED', '5.7.0'); } require_once(plugin_dir_path(__FILE__) . '/install.php'); require_once(plugin_dir_path(__FILE__) . '/incl/advanced-gutenberg-main.php'); new AdvancedGutenbergMain(); if (! function_exists('advg_language_domain_init')) { /** * Load language translations * * @return void */ function advg_language_domain_init() { // First, unload textdomain - Based on https://core.trac.wordpress.org/ticket/34213#comment:26 unload_textdomain('advanced-gutenberg'); // Load override language file first if available from version 2.3.11 and older if (file_exists(WP_LANG_DIR . '/plugins/' . 'advanced-gutenberg' . '-' . get_locale() . '.override.mo')) { load_textdomain( 'advanced-gutenberg', WP_LANG_DIR . '/plugins/' . 'advanced-gutenberg' . '-' . get_locale() . '.override.mo' ); } // Call the core translations from plugins languages/ folder if (file_exists(plugin_dir_path(__FILE__) . 'languages/' . 'advanced-gutenberg' . '-' . get_locale() . '.mo')) { load_textdomain( 'advanced-gutenberg', plugin_dir_path(__FILE__) . 'languages/' . 'advanced-gutenberg' . '-' . get_locale() . '.mo' ); } } } add_action( 'init', 'advg_language_domain_init' ); // Include jufeedback helpers require_once('jufeedback'. DIRECTORY_SEPARATOR . 'jufeedback.php'); call_user_func( '\Joomunited\ADVGB\Jufeedback\Jufeedback::init', __FILE__, 'advgb', 'advanced-gutenberg', 'Advanced Gutenberg', 'advanced-gutenberg' );