Activating Yoast breaks the website
-
When I activate Yoast my website breaks. I have used this configuration to run +/-80 other websites without any problems. Why exactly does this website break when I activate Yoast? Everything is up to date and my hosting more than meets all requirements. All help is appreciated.
Error:Fatal error: Uncaught TypeError: Unsupported operand types: string * float in /data/sites/web/swinnenbe/www/wp-includes/media.php:459 Stack trace: #0 /data/sites/web/swinnenbe/www/wp-includes/media.php(135): wp_constrain_dimensions(”, ”, 840, 1024) #1 /data/sites/web/swinnenbe/www/wp-includes/media.php(268): image_constrain_size_for_editor(”, ”, ‘large’) #2 /data/sites/web/swinnenbe/www/wp-includes/media.php(958): image_downsize(388, ‘large’) #3 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(220): wp_get_attachment_image_src(388, ‘large’) #4 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/inc/class-wpseo-image-utils.php(338): WPSEO_Image_Utils::get_image(388, ‘large’) #5 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php(285): WPSEO_Image_Utils::get_variations(388) #6 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php(374): Yoast\WP\SEO\Helpers\Image_Helper->get_best_attachment_variation(388) #7 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/context/meta-tags-context.php(396): Yoast\WP\SEO\Helpers\Image_Helper->get_attachment_meta_from_settings(‘company_logo’) #8 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(66): Yoast\WP\SEO\Context\Meta_Tags_Context->generate_company_logo_meta() #9 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/generators/schema/organization.php(29): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get(‘company_logo_me…’) #10 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(129): Yoast\WP\SEO\Generators\Schema\Organization->generate() #11 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php(76): Yoast\WP\SEO\Generators\Schema_Generator->generate_graph(Array, Object(Yoast\WP\SEO\Context\Meta_Tags_Context)) #12 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/presentations/indexable-presentation.php(718): Yoast\WP\SEO\Generators\Schema_Generator->generate(Object(Yoast\WP\SEO\Context\Meta_Tags_Context)) #13 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/presentations/abstract-presentation.php(66): Yoast\WP\SEO\Presentations\Indexable_Presentation->generate_schema() #14 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(60): Yoast\WP\SEO\Presentations\Abstract_Presentation->__get(‘schema’) #15 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/presenters/schema-presenter.php(44): Yoast\WP\SEO\Presenters\Schema_Presenter->get() #16 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(409): Yoast\WP\SEO\Presenters\Schema_Presenter->present() #17 /data/sites/web/swinnenbe/www/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Front_End_Integration->present_head(”) #18 /data/sites/web/swinnenbe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #19 /data/sites/web/swinnenbe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #20 /data/sites/web/swinnenbe/www/wp-content/plugins/wordpress-seo/src/integrations/front-end-integration.php(383): do_action(‘wpseo_head’) #21 /data/sites/web/swinnenbe/www/wp-includes/class-wp-hook.php(310): Yoast\WP\SEO\Integrations\Front_End_Integration->call_wpseo_head(”) #22 /data/sites/web/swinnenbe/www/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #23 /data/sites/web/swinnenbe/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #24 /data/sites/web/swinnenbe/www/wp-includes/general-template.php(3053): do_action(‘wp_head’) #25 /data/sites/web/swinnenbe/www/wp-content/themes/uncode-child/header.php(43): wp_head() #26 /data/sites/web/swinnenbe/www/wp-includes/template.php(785): require_once(‘/data/sites/web…’) #27 /data/sites/web/swinnenbe/www/wp-includes/template.php(720): load_template(‘/data/sites/web…’, true, Array) #28 /data/sites/web/swinnenbe/www/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #29 /data/sites/web/swinnenbe/www/wp-content/themes/uncode/page.php(14): get_header() #30 /data/sites/web/swinnenbe/www/wp-includes/template-loader.php(106): include(‘/data/sites/web…’) #31 /data/sites/web/swinnenbe/www/wp-blog-header.php(19): require_once(‘/data/sites/web…’) #32 /data/sites/web/swinnenbe/www/index.php(17): require(‘/data/sites/web…’) #33 {main} thrown in?/data/sites/web/swinnenbe/www/wp-includes/media.php?on line?459
- The topic ‘Activating Yoast breaks the website’ is closed to new replies.