ErrorException: Warning: Undefined variable $card
-
Hi there,
on one of my sites, I found the following error message after updating to version 5.2.0:
ErrorException: Warning: Undefined variable $card
#0 /wp-content/plugins/autodescription/inc/classes/meta/twitter.class.php(134): The_SEO_Framework\Meta\Twitter::get_custom_card_type
#1 /wp-content/plugins/autodescription/inc/classes/meta/twitter.class.php(73): The_SEO_Framework\Meta\Twitter::get_card_type
#2 /wp-content/plugins/autodescription/inc/classes/front/meta/generator/twitter.class.php(57): The_SEO_Framework\Front\Meta\Generator\Twitter::generate_twitter_card
#3 /wp-content/plugins/autodescription/inc/classes/front/meta/tags.class.php(106): The_SEO_Framework\Front\Meta\Tags::fill_render_data_from_registered_generators
#4 /wp-content/plugins/autodescription/inc/classes/front/meta/head.class.php(172): The_SEO_Framework\Front\Meta\Head::print_tags
#5 /wp-content/plugins/autodescription/inc/classes/front/meta/head.class.php(76): The_SEO_Framework\Front\Meta\Head::print_wrap_and_tags
#6 /wp-includes/class-wp-hook.php(353): WP_Hook::apply_filters
#7 /wp-includes/class-wp-hook.php(377): WP_Hook::do_action
#8 /wp-includes/plugin.php(523): do_action
#9 /wp-includes/general-template.php(3441): wp_head
#10 /wp-content/themes/rh-60/header.php(24): require_once
#11 /wp-includes/template.php(880): load_template
#12 /wp-includes/template.php(815): locate_template
#13 /wp-includes/general-template.php(48): get_header
#14 /wp-content/themes/rh-60/archive.php(21): include
#15 /wp-includes/template-loader.php(132): require_once
#16 /wp-blog-header.php(19): require
#17 /index.php(17)It happens when accessing a date archive of a blog, e.g.: https://example.com/2023/11/.
Best regards,
Matthias
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.