/**
* PHP 8+ compatible autoloader replacement for deprecated __autoload()
* Replaces the old `function __autoload($class)` logic.
*/
spl_autoload_register(function ($class) {
global $wp_filter;
// If there are functions hooked to '__autoload', call them
if ( isset( $wp_filter['__autoload'] ) && is_array( $wp_filter['__autoload'] ) ) {
foreach ( $wp_filter['__autoload'] as $priority => $functions ) {
foreach ( $functions as $function ) {
$function_name = $function['function'];
if ( is_callable( $function_name ) ) {
call_user_func( $function_name, $class );
if ( class_exists( $class, false ) || interface_exists( $class, false ) ) {
return;
}
}
}
}
}
});
Warning: Undefined property: WP_HTTP_Requests_Hooks::$name in /var/www/webozindia.com/public_html/wp-includes/Requests/Cookie/Jar.php on line 18
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/webozindia.com/public_html/wp-includes/class-wp.php on line 184
Fatal error: Uncaught Error: Call to undefined function wp_lazyload_term_meta() in /var/www/webozindia.com/public_html/wp-includes/post.php:8119
Stack trace:
#0 /var/www/webozindia.com/public_html/wp-includes/class-wp-query.php(3017): wp_queue_posts_for_term_meta_lazyload()
#1 /var/www/webozindia.com/public_html/wp-includes/class-wp-query.php(3238): WP_Query->get_posts()
#2 /var/www/webozindia.com/public_html/wp-includes/class-wp.php(617): WP_Query->query()
#3 /var/www/webozindia.com/public_html/wp-includes/class-wp.php(735): WP->query_posts()
#4 /var/www/webozindia.com/public_html/wp-includes/functions.php(955): WP->main()
#5 /var/www/webozindia.com/public_html/wp-blog-header.php(16): wp()
#6 /var/www/webozindia.com/public_html/index.php(17): require('...')
#7 {main}
thrown in /var/www/webozindia.com/public_html/wp-includes/post.php on line 8119