Title: php error
Last modified: June 4, 2023

---

# php error

 *  Resolved [amslps](https://wordpress.org/support/users/amslps/)
 * (@amslps)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/php-error-595/)
 * WordPress version 6.1.2
   Active theme: Astra Child Theme (version 1.0)PHP version
   8.1.19
 * FastCGI sent in stderr: “PHP message: PHP Warning:  Array to string conversion
   in /usr/share/nginx/wordpress/wp-content/plugins/seo-by-rank-math/includes/opengraph/
   class-image.php on line 606PHP message: PHP Warning:  Array to string conversion
   in /usr/share/nginx/wordpress/wp-content/plugins/seo-by-rank-math/includes/opengraph/
   class-image.php on line 606” while reading response header from upstream,
 * Can you fix on this?

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/php-error-595/?output_format=md) [1](https://wordpress.org/support/topic/php-error-595/?output_format=md)
2

 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17471041)
 * Hello [@loganless](https://wordpress.org/support/users/loganless/),
 * Thank you so much for reaching out to us and we appreciate your contribution 
   to resolving this issue.
 *  [loganless](https://wordpress.org/support/users/loganless/)
 * (@loganless)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17471958)
 * Thanks to you [@rankmathsupport](https://wordpress.org/support/users/rankmathsupport/)
   for the great plugin.
 * Will you include this fix in the next release? This error has been present for
   almost a year.
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17477670)
 * Hello [@loganless](https://wordpress.org/support/users/loganless/),
 * We don’t have an ETA for the fix. You can keep an eye on our changelog to get
   notified about the latest features and updates. [https://rankmath.com/changelog/](https://rankmath.com/changelog/)
 * Please do not hesitate to let us know if you need our assistance with anything
   else.
 *  [sweetrobot](https://wordpress.org/support/users/sweetrobot/)
 * (@sweetrobot)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17935332)
 * i can confirm this is still an issue…
 * `[05-Aug-2024 22:02:53 UTC] PHP Warning: Attempt to read property "post_content"
   on null in /public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/
   class-image.php on line 506
   [05-Aug-2024 22:02:53 UTC] PHP Warning: Attempt to
   read property "ID" on null in /public_html/wp-content/plugins/seo-by-rank-math/
   includes/opengraph/class-image.php on line 506[05-Aug-2024 22:02:53 UTC] PHP 
   Warning: Attempt to read property "post_content" on null in //public_html/wp-
   content/plugins/seo-by-rank-math/includes/opengraph/class-image.php on line 506[
   05-Aug-2024 22:02:53 UTC] PHP Warning: Attempt to read property "ID" on null 
   in /public_html/wp-content/plugins/seo-by-rank-math/includes/opengraph/class-
   image.php on line 506
    -  This reply was modified 1 year, 9 months ago by [sweetrobot](https://wordpress.org/support/users/sweetrobot/).
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17940692)
 * Hello [@sweetrobot](https://wordpress.org/support/users/sweetrobot/) ,
 * Sorry about that. We are in the process of releasing an update to fix this issue.
 *  [sweetrobot](https://wordpress.org/support/users/sweetrobot/)
 * (@sweetrobot)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-17941723)
 * the active support is much appreciated! cheers
 *  Plugin Support [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * (@rankmathsupport)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-18179976)
 * Hello [@sweetrobot](https://wordpress.org/support/users/sweetrobot/),
 * Thank you for your patience.
 * Just a quick update that we have fixed this issue on one of our recent releases.
 * Please update Rank Math & all other plugins, themes and WordPress to the latest
   version.
 * The issue should be fixed.
 * If not, please feel free to open a support topic or reply to this message and
   we will be more than happy to assist.

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/php-error-595/?output_format=md) [1](https://wordpress.org/support/topic/php-error-595/?output_format=md)
2

The topic ‘php 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/)

 * 22 replies
 * 8 participants
 * Last reply from: [Rank Math Support](https://wordpress.org/support/users/rankmathsupport/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/php-error-595/page/2/#post-18179976)
 * Status: resolved