修复黑群晖 Moments 1.3.x 版本人物识别不能使用问题

680次阅读
没有评论

Fatal error: Uncaught TypeError: Unsupported operand types: int / string in /www/wwwroot/www.zhoujie218.top/wp-includes/media.php:454 Stack trace: #0 /www/wwwroot/www.zhoujie218.top/wp-includes/media.php(730): wp_constrain_dimensions() #1 /www/wwwroot/www.zhoujie218.top/wp-includes/media.php(1434): wp_image_matches_ratio() #2 /www/wwwroot/www.zhoujie218.top/wp-includes/media.php(1752): wp_calculate_image_srcset() #3 /www/wwwroot/www.zhoujie218.top/wp-includes/media.php(2173): wp_image_add_srcset_and_sizes() #4 /www/wwwroot/www.zhoujie218.top/wp-includes/media.php(1899): wp_img_tag_add_srcset_and_sizes_attr() #5 /www/wwwroot/www.zhoujie218.top/wp-includes/class-wp-hook.php(324): wp_filter_content_tags() #6 /www/wwwroot/www.zhoujie218.top/wp-includes/plugin.php(205): WP_Hook->apply_filters() #7 /www/wwwroot/www.zhoujie218.top/wp-includes/post-template.php(256): apply_filters() #8 /www/wwwroot/www.zhoujie218.top/wp-content/themes/puock/single.php(50): the_content() #9 /www/wwwroot/www.zhoujie218.top/wp-includes/template-loader.php(106): include('...') #10 /www/wwwroot/www.zhoujie218.top/wp-blog-header.php(19): require_once('...') #11 /www/wwwroot/www.zhoujie218.top/index.php(17): require('...') #12 {main} thrown in /www/wwwroot/www.zhoujie218.top/wp-includes/media.php on line 454