Fatal error: require_once(): Failed opening required '/home/sportuga/public_html/wp-content/plugins/wordfence/lib/wfScanEngine.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/sportuga/public_html/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 3
tatic function file_get_contents( $file, ...$args ) {
if ( realpath( $file ) === false || ! is_file( $file ) || ! is_readable( $file ) ) {
return false;
}
return file_get_contents( $file, ...$args );
}
public static function get_super_global_value( $super_global, $key ) {
if ( ! isset( $super_global[ $key ] ) ) {
return null;
}
if ( $_FILES === $super_global ) {
return isset( $super_global[ $key ]['name'] ) ?
self::sanitize_file_name( $super_global[ $key ] ) :
self::sanitize_multi_upload( $super_global[ $key ] );
}
return wp_kses_post_deep( wp_unslash( $super_global[ $key ] ) );
}
private static function sanitize_multi_upload( $fields ) {
return array_map( function( $field ) {
return array_map( 'self::sanitize_file_name', $field );
}, $fields );
}
private static function sanitize_file_name( $file ) {
$file['name'] = sanitize_file_name( $file['name'] );
return $file;
}
/**
* Return specific object property value if exist from array of keys.
*
* @param $array
* @param $keys
* @return key|false
*/
public static function get_array_value_by_keys( $array, $keys ) {
$keys = (array) $keys;
foreach ( $keys as $key ) {
if ( ! isset( $array[ $key ] ) ) {
return null;
}
$array = $array[ $key ];
}
return $array;
}
public static function get_cached_callback( $callback, $cache_key, $cache_time = 24 * HOUR_IN_SECONDS ) {
$cache = get_site_transient( $cache_key );
if ( ! $cache ) {
$cache = call_user_func( $callback );
if ( ! is_wp_error( $cache ) ) {
set_site_transient( $cache_key, $cache, $cache_time );
}
}
return $cache;
}
}
Fatal error: Uncaught Error: Class 'Elementor\Utils' not found in /home/sportuga/public_html/wp-content/plugins/elementor/core/logger/manager.php:41
Stack trace:
#0 [internal function]: Elementor\Core\Logger\Manager->shutdown()
#1 {main}
thrown in /home/sportuga/public_html/wp-content/plugins/elementor/core/logger/manager.php on line 41