• Resolved Jim

    (@releasejim)


    Hello. I just switched from Yoast SEO to RankMath! It’s so superior in every way!

    I have one problem though and I hope you can help me fix it. My theme has a plugin for shortcodes. If I disable the shortcodes plugin I don’t receive the error but I need the plugin so that the shortcodes work.
    ————————————————————————-
    Here is what I see when I go to edit a post or a page:

    Warning: strpos() expects parameter 1 to be string, object given in /home/customer/www/deluxecave.com/public_html/wp-includes/shortcodes.php on line 180

    Warning: preg_match_all() expects parameter 2 to be string, object given in /home/customer/www/deluxecave.com/public_html/wp-includes/shortcodes.php on line 189

    Warning: array_intersect(): Expected parameter 2 to be an array, null given in /home/customer/www/deluxecave.com/public_html/wp-includes/shortcodes.php on line 190

    Recoverable fatal error: Object of class CMB2_Field could not be converted to string in /home/customer/www/deluxecave.com/public_html/wp-content/plugins/theblogger-shortcodes/theblogger-shortcodes.php on line 417
    There has been a critical error on your website. Please check your site admin email inbox for instructions.
    ————————————————————————-

    Can you please help me with that…? I really need the shortcodes plugin so disabling that is not an option. And I can’t even edit posts or pages right now! Please help!

    • This topic was modified 5 years, 1 month ago by Jim.
    • This topic was modified 5 years, 1 month ago by Jim.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @releasejim

    Thank you for contacting the support and sorry for any inconvenience that might have been caused due to that.

    It seems like you are using the following theme:
    https://themeforest.net/item/theblogger-a-wordpress-blogging-theme-for-bloggers/15832662

    Since the error is coming from the plugin, you would need to contact the theme developer to fix the issue.

    Hope that helps.

    Thread Starter Jim

    (@releasejim)

    If I disable the Schema (Structured Data) Module then the errors are gone!

    Is it bad if I disable it? What does that do exactly? Is it necessary?
    If I disable it will the meta description be gone from search results?

    Or is there a different manual way I can add Schema Markup so that I don’t get that error?

    • This reply was modified 5 years, 1 month ago by Jim.
    • This reply was modified 5 years, 1 month ago by Jim.
    • This reply was modified 5 years, 1 month ago by Jim.
    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @releasejim

    You can disable the Schema Markup module in the Rank Math plugin though we do not recommend that.

    There are a few very useful Schema Markups that we highly recommend to use. For instance this one:
    https://rankmath.com/blog/faq-schema/

    You can read more about the Schema Markup and why that is important on this page:
    https://mythemeshop.com/blog/google-rich-snippets/

    We still recommend reaching out to the theme developer to fix the issue.

    Hope that helps. Thank you.

    Getting exactly the same error here with theme developers default plugin.

    Rank Math could look into it so it doesn’t conflict with others that need it.

    Thanks!

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @matantunes

    Since the Rank Math plugin provides an exclusive Schema Markup option, you can either disable the module inside Rank Math or can disable the Schema Markup coming from the other theme/plugin to avoid conflicts.

    Thank you.

    Disabling the Schema isn’t an option.

    But I believe the problem is on the plugin/theme developer side. They should prefix it. Although you could also prefix to avoid these.

    I’ll try to fix it by hand, no idea if it will work.

    You can see other users that use Pixelwars themes are having the same issue.

    Thanks!

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @matantunes

    Think of Rank Math as a Schema plugin since it’s a module in the plugin.

    To use this functionality, there should not be any conflicting plugins/themes, so, to disable the Schema Markup code in the theme has to come from the theme developer, not us.

    and if someone wants to use some other Schema plugin/theme, then the option has to come from the RM plugin which we have provided.

    Hope that helps. Thank you.

    I agree, just pointed out there’s this problem with this theme developer’s own plugin.

    I fixed it using a solution I found online.

    Thanks!

    Thread Starter Jim

    (@releasejim)

    @matantunes Can you tell me what fix did you find online so I can fix my issue too?

    -Thanks

    Hi @releasejim,

    Note that I’m far from being a coder ?? just read about the issue and applied the solution described here:
    https://github.com/CMB2/CMB2/issues/750#issuecomment-250272130

    Hope it helps,

    Cheers!

    Thread Starter Jim

    (@releasejim)

    Thanks, @matantunes.

    Do you have support for the theme? Mine is over and I was wondering if you could tell them something that they need to fix, and also when will there be an update on the theme.

    They said they were preparing a huge update 3-4 months ago but still nothing.

    No, no support also.

    But they replied my review and it was really disappointing.

    Also found an user with same problem in their forum and their reply was “turn off the incompatible plugin” ??

    They’re really weak.

    Did it help?

    Thread Starter Jim

    (@releasejim)

    @matantunes

    Yeah… The thing is the theme’s design is really awesome, (that’s why I bought it in the first place) but the coding of the theme is frankly garbage. That’s really pitty. I might have to change theme in the near future!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘RankMath conflict with theme’s shortcodes plugin!’ is closed to new replies.