samdoomboom
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Popular Posts] Thumbnail Image CrashingAs i wrote before wp is 6.11. Unfortunally actually i can’t test each plugin to understand if there is a conflict and wich one is. Maybe is a problem about WP Popular that try to set the thumbnail on a full loaded site full of old post (more than 5.000)… By the way what @sriva suggest seems a good option to go back to functionality – AND NOT TRY to set a default thumbnail image again (or the problem still there). Cheers
Forum: Plugins
In reply to: [WordPress Popular Posts] Thumbnail Image CrashingUpdate: on a staging site i try to replicate the problem and BOOM here it is:
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /home/*****/env/staging/wp-includes/capabilities.php:873 Stack trace: #0 /home/*****/env/staging/wp-includes/functions.php(3531): current_user_can(‘unfiltered_html’) #1 /home/****/env/staging/wp-includes/formatting.php(2073): get_allowed_mime_types() #2 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Helper.php(337): sanitize_file_name(‘cropped-cropped…’) #3 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Image.php(67): WordPressPopularPosts\Helper::is_image_url(‘https://staging…’) #4 /home/*****/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php(33): WordPressPopularPosts\Image->__construct(Array) #5 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(105): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #6 /home/*****/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(89): WordPressPopularPosts\Container\Container->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #7 /home/*****/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php(44): WordPressPopularPosts\Container\Container->offsetGet(‘image’) #8 /home/*******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(105): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #9 /home/********/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(89): WordPressPopularPosts\Container\Container->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #10 /home/*******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php(111): WordPressPopularPosts\Container\Container->offsetGet(‘output’) #11 /home/********/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(105): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #12 /home/*******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(89): WordPressPopularPosts\Container\Container->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #13 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php(119): WordPressPopularPosts\Container\Container->offsetGet(‘widget_endpoint’) #14 /home/*******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(105): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #15 /home/*******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(89): WordPressPopularPosts\Container\Container->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #16 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/WordPressPopularPostsConfiguration.php(144): WordPressPopularPosts\Container\Container->offsetGet(‘rest’) #17 /home/*********/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(105): WordPressPopularPosts\Container\WordPressPopularPostsConfiguration->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #18 /home/*********/env/staging/wp-content/plugins/wordpress-popular-posts/src/Container/Container.php(89): WordPressPopularPosts\Container\Container->WordPressPopularPosts\Container\{closure}(Object(WordPressPopularPosts\Container\Container)) #19 /home/******/env/staging/wp-content/plugins/wordpress-popular-posts/src/Bootstrap.php(18): WordPressPopularPosts\Container\Container->offsetGet(‘wpp’) #20 /home/*********/env/staging/wp-content/plugins/wordpress-popular-posts/wordpress-popular-posts.php(38): require(‘/home/*******/…’) #21 /home/**********/env/staging/wp-settings.php(447): include_once(‘/home/*******/…’) #22 /home/********/env/staging/wp-config.php(104): require_once(‘/home/******/…’) #23 /home/*******/env/staging/wp-load.php(50): require_once(‘/home/******/…’) #24 /home/*******/env/staging/wp-blog-header.php(13): require_once(‘/home/*******/…’) #25 /home/*******/env/staging/index.php(17): require(‘/home/*******/…’) #26 {main} thrown in?/home/*******/env/staging/wp-includes/capabilities.php?on line?873