Notice: include(): Read of 678682 bytes failed with errno=12 Cannot allocate memory in /home/valigeria/public_html/wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php on line 340
return false;
}
$option_name = $this->get_option_name();
if ( ! $option_name ) {
return false;
}
$paused_extensions = (array) get_option( $option_name, array() );
unset( $paused_extensions[ $this->type ] );
if ( ! $paused_extensions ) {
return delete_option( $option_name );
}
return update_option( $option_name, $paused_extensions );
}
/**
* Checks whether the underlying API to store paused extensions is loaded.
*
* @since 5.2.0
*
* @return bool True if the API is loaded, false otherwise.
*/
protected function is_api_loaded() {
return function_exists( 'get_option' );
}
/**
* Get the option name for storing paused extensions.
*
* @since 5.2.0
*
* @return string
*/
protected function get_option_name() {
if ( ! wp_recovery_mode()->is_active() ) {
return '';
}
$session_id = wp_recovery_mode()->get_session_id();
if ( empty( $session_id ) ) {
return '';
}
return "{$session_id}_paused_extensions";
}
}
Warning: include_once(): Failed opening '/home/valigeria/public_html/wp-content/plugins/woocommerce/includes/class-wc-discounts.php' for inclusion (include_path='.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php') in /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php on line 590
Fatal error: Uncaught Error: Class "WP_Paused_Extensions_Storage" not found in /home/valigeria/public_html/wp-includes/error-protection.php:33
Stack trace:
#0 /home/valigeria/public_html/wp-includes/class-wp-theme.php(514): wp_paused_themes()
#1 /home/valigeria/public_html/wp-includes/class-wp-theme.php(511): WP_Theme->__construct('flatsome', '/home/valigeria...', Object(WP_Theme))
#2 /home/valigeria/public_html/wp-includes/theme.php(133): WP_Theme->__construct('valigeria-de-an...', '/home/valigeria...')
#3 /home/valigeria/public_html/wp-includes/theme.php(4322): wp_get_theme()
#4 /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/wc-conditional-functions.php(508): wp_is_block_theme()
#5 /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/customizer/class-wc-shop-customizer.php(958): wc_current_theme_is_fse_theme()
#6 /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(592): include_once('/home/valigeria...')
#7 /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(193): WooCommerce->includes()
#8 /home/valigeria/public_html/wp-content/plugins/woocommerce/includes/class-woocommerce.php(152): WooCommerce->__construct()
#9 /home/valigeria/public_html/wp-content/plugins/woocommerce/woocommerce.php(51): WooCommerce::instance()
#10 /home/valigeria/public_html/wp-content/plugins/woocommerce/woocommerce.php(66): WC()
#11 /home/valigeria/public_html/wp-settings.php(517): include_once('/home/valigeria...')
#12 /home/valigeria/public_html/wp-config.php(111): require_once('/home/valigeria...')
#13 /home/valigeria/public_html/wp-load.php(50): require_once('/home/valigeria...')
#14 /home/valigeria/public_html/wp-blog-header.php(13): require_once('/home/valigeria...')
#15 /home/valigeria/public_html/index.php(17): require('/home/valigeria...')
#16 {main}
thrown in /home/valigeria/public_html/wp-includes/error-protection.php on line 33