“Warning: Illegal string offset”

#195625
  • Resolved Caitlin Shannon
    Rank Math free

    Hi! I’m getting some significant errors on some of my blog posts and I’m trying to figure out how to resolve it. Here’s an example: https://emberand.co/brand-consistency/

    Errors I’m seeing on frontend:

    Warning: Illegal string offset ‘@type’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-opengraph.php on line 46

    Warning: Illegal string offset ‘@id’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php on line 168

    Warning: Illegal string offset ‘@type’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-frontend.php on line 170

    Warning: Illegal string offset ‘isPartOf’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 486

    Warning: Illegal string offset ‘publisher’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 502

    Warning: Illegal string offset ‘image’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 469

    Warning: Illegal string offset ‘inLanguage’ in /home/customer/www/emberand.co/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/schema/class-jsonld.php on line 457

    Any idea how I can resolve this? I’m using the Oxygen Builder plugin/theme, if that’s relevant 🙂 Thank you so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I’ve tried swapping out the theme and deactivated all other plugins and I’m still seeing the issue. As mentioned, I’ve added my WP and FTP login credentials. I really appreciate your help!

    Hello,

    Thank you for that information.

    I’ve checked your site, and it seems that there was something wrong with the Schema setup. We have removed the schema on the affected URL you have shared and added the Article schema and that seems to have fixed the issue. I’ve attached the screencast in the sensitive data section and you can do the same steps for the other affected posts as well.

    Since there’s an error upon editing those pages using the block editor, I’ve installed the Classic editor so we can reapply the Article Schema. Once you have already fixed the other posts, you can deactivate that plugin and switch back to the block editor (Gutenberg).

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Oh, you are the BEST. Thanks for figuring that out. I wonder if something went sideways during the migration process? Either way, this is super helpful. And thank you for the video!

    Hello,

    You’re very welcome.

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘“Warning: Illegal string offset”’ is closed to new replies.