Unsupported operand types: string + int
-
We are seeing the following fatal error on numerous sites with version 4.8.4.1. Can you add better data type handling or perhaps use a counter instead of assuming
$kwill be an integer?PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php:31
Stack trace:
#0 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(191): AIOSEO\Plugin\Common\Schema\Graphs\BreadcrumbList->get()
#1 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Schema.php(145): AIOSEO\Plugin\Common\Schema\Schema->generateSchema()
#2 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php(18): AIOSEO\Plugin\Common\Schema\Schema->get()
#3 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(168): require('/srv/htdocs/wp-...')
#4 /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Main/Head.php(126): AIOSEO\Plugin\Common\Main\Head->output()
#5 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(324): AIOSEO\Plugin\Common\Main\Head->wpHead('')
#6 /wordpress/core/6.8.2/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#7 /wordpress/core/6.8.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#8 /wordpress/core/6.8.2/wp-includes/general-template.php(3192): do_action('wp_head')
#9 /srv/htdocs/wp-content/themes/oxigeno/header.php(34): wp_head()
#10 /wordpress/core/6.8.2/wp-includes/template.php(810): require_once('/srv/htdocs/wp-...')
#11 /wordpress/core/6.8.2/wp-includes/template.php(745): load_template('/srv/htdocs/wp-...', true, Array)
#12 /wordpress/core/6.8.2/wp-includes/general-template.php(48): locate_template(Array, true, true, Array)
#13 /srv/htdocs/wp-content/themes/oxigeno/index.php(10): get_header()
#14 /wordpress/core/6.8.2/wp-includes/template-loader.php(106): include('/srv/htdocs/wp-...')
#15 /wordpress/core/6.8.2/wp-blog-header.php(19): require_once('/wordpress/core...')
#16 /wordpress/core/6.8.2/index.php(17): require('/wordpress/core...')
#17 {main}
thrown in /srv/htdocs/wp-content/plugins/all-in-one-seo-pack/app/Common/Schema/Graphs/BreadcrumbList.php on line 31
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.