critical error
-
After updating the plugin, when trying to add a new post, a fatal error occurs.
Details of the error =================================== An error with type E_ERROR occurred on line 310 of the file/var/www/sel****/data/www/*****.ru/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php. Сообщение об ошибке: Uncaught Error: Class 'AmpProject\Role' not found in /var/www/sel****/data/www/*****.ru/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php:310 Stack trace: #0 /var/www/sel****/data/www/*****.ru/wp-content/plugins/amp/includes/sanitizers/class-amp-core-theme-sanitizer.php(337): AMP_Core_Theme_Sanitizer::get_supported_themes() #1 /var/www/sel****/data/www/*****.ru/wp-content/plugins/amp/includes/class-amp-theme-support.php(165): AMP_Core_Theme_Sanitizer::extend_theme_support() #2 /var/www/sel****/data/www/*****.ru/wp-content/plugins/amp/includes/amp-helper-functions.php(130): AMP_Theme_Support::init() #3 /var/www/sel****/data/www/*****.ru/wp-includes/class-wp-hook.php(303): amp_init('') #4 /var/www/sel****/data/www/*****.ru/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array) #5 /var/www/sel****/data/www/*****.ru/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #6 /var/www/sel****/data/www/*****.ru/wp-settings.php(578): do_action('init') #7 /var/www/sel****/da
Help solve this problem
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘critical error’ is closed to new replies.