Title: PHP 8 and wordpress 6 error
Last modified: June 5, 2022

---

# PHP 8 and wordpress 6 error

 *  Resolved [Moumen Ahmed](https://wordpress.org/support/users/etswak1/)
 * (@etswak1)
 * [4 years ago](https://wordpress.org/support/topic/php-8-and-wordpress-6-error/)
 * Hello i after i update my site to V6 of wordpress i get a lot of error on my 
   nginx logs related to Rank math plugin her is error .
 *     ```
       FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string + string in /wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block-howto.php:391
       Stack trace:
       #0 /wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block-howto.php(132): RankMath\Schema\Block_HowTo->add_duration()
       #1 /wp-includes/class-wp-hook.php(307): RankMath\Schema\Block_HowTo->add_graph()
       #2 /wp-includes/plugin.php(235): WP_Hook->apply_filters()
       #3 /wp-content/plugins/seo-by-rank-math/includes/traits/class-hooker.php(102): apply_filters_ref_array()
       #4 /wp-content/plugins/seo-by-rank-math/includes/modules/schema/blocks/class-block-parser.php(61): RankMath\Schema\Block_Parser->do_filter()
       #5 /wp-includes/class-wp-hook.php(309): RankMath\Schema\Block_Parser->parse()
       #6 /wp-includes/plugin.php(235): WP_Hook->apply_filters()
       #7 while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /how-to-add-ap/?preview_id=2222&preview_nonce=7c04e2607f&preview=true&_thumbnail_id=2254 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=2222&action=edit"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 158PHP message: PHP Warning:  Undefined array key "@type" in /wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 158" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=2222&action=edit&classic-editor&message=4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=2222&action=edit"
   
   
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=664&action=edit&classic-editor&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor&message=1 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=220&action=edit&classic-editor&classic-editor__forget"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor&message=4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=220&action=edit"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=2222&action=edit&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?s=edit-my-ap_status=all&post_type=post&action=-1&m=0&cat=0&seo-filter&schema-filter=none&paged=1&action2=-1"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 1162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=2222&action=edit&classic-editor&message=4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=2222&action=edit"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 162.77.7.7, server: etswak.net, request: "GET /wp-admin/post.php?post=2222&action=edit&classic-editor&message=4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/post.php?post=2222&action=edit"
   
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 141.101.105.179, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 141.101.105.179, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
        FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175PHP message: PHP Warning:  Undefined array key "@type" in wordpress/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-db.php on line 175" while reading response header from upstream, client: 141.101.105.179, server: etswak.net, request: "GET /wp-admin/post.php?post=220&action=edit&classic-editor&classic-editor__forget HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "etswak.net", referrer: "https://etswak.net/wp-admin/edit.php?post_type=page"
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Moumen Ahmed](https://wordpress.org/support/users/etswak1/)
 * (@etswak1)
 * [4 years ago](https://wordpress.org/support/topic/php-8-and-wordpress-6-error/#post-15724933)
 * So far 4 days and no one has responded to the query, how you want people buy 
   the pro version it’s really disappoint .
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * (@rankmathteam)
 * [4 years ago](https://wordpress.org/support/topic/php-8-and-wordpress-6-error/#post-15728198)
 * Hello [@etswak1](https://wordpress.org/support/users/etswak1/),
 * Thank you for contacting the support. Sorry for the unexpected delay and sorry
   for any inconvenience that might have been caused due to that.
 * For faster and better help, please follow this thread from next time onwards:
   
   [https://wordpress.org/support/topic/attention-read-this-before-posting/](https://wordpress.org/support/topic/attention-read-this-before-posting/)
 * Also, we have fixed the issue with the HowTo block’s PHP errors in our recent
   update. Please make sure that you are using the latest version of the plugin:
   [https://rankmath.com/changelog/](https://rankmath.com/changelog/)
 * If the issue persists, please follow this guide to check for a possible plugin/
   theme conflict: [https://rankmath.com/kb/check-plugin-conflicts/](https://rankmath.com/kb/check-plugin-conflicts/)
 * Let us know how that goes. Looking forward to helping you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 8 and wordpress 6 error’ is closed to new replies.

 * ![](https://ps.w.org/seo-by-rank-math/assets/icon.svg?rev=3438330)
 * [Rank Math SEO – AI SEO Tools to Dominate SEO Rankings](https://wordpress.org/plugins/seo-by-rank-math/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-by-rank-math/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-by-rank-math/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-by-rank-math/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-by-rank-math/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-by-rank-math/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathteam/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/php-8-and-wordpress-6-error/#post-15728198)
 * Status: resolved