• Hello,

    Today I noticed that we’re receiving a series of these error messages on multiple pages on our travel site. I don’t know how long they’ve been there (or how to find that out?) because they only appear when I’m logged in to wp-admin and go to edit the back-end settings on our category pages.

    We’re using Valenti theme and have the free Yoast SEO plugin. I read a lot of other people posting similar issues on the WP forums but most seem to have been caused by a Yoast update around 18 months ago. I haven’t found a consensus in how the issue was resolved except that for some, it was fixed with another Yoast update.

    These are the error messages on one of our category pages:

    Warning: Illegal string offset ‘url’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 703

    Warning: Cannot assign an empty string to a string offset in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 703

    Warning: Illegal string offset ‘id’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 705

    Warning: Cannot assign an empty string to a string offset in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 705

    Warning: Illegal string offset ‘url’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 706

    Warning: Illegal string offset ‘url’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 706

    Warning: Cannot assign an empty string to a string offset in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 706

    Warning: Illegal string offset ‘url’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 715

    Warning: Illegal string offset ‘id’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 716

    Warning: Illegal string offset ‘url’ in /home/twosmall/public_html/wp-content/plugins/cubell-themes-functionality/extensions/Tax-meta-class/Tax-meta-class.php on line 717

    These errors specifically appear on the edit category page under the setting “Category Title Background Image” where normally we can add an image, and also “Category Background Image.” The fields to add images to those two places are still clickable, but when I click, browse to image, and select it, nothing happens. We’ve actually never had any images selected in either of these fields. It’s always just been a plain white background.

    We deactivated Yoast, so I really don’t know if the plugin has anything to do with the issue. Please let us know if you have any other troubleshooting ideas!

    Carrie @ Two Small Potatoes

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Based on the warnings they seem to be coming from the Cubell Theme’s Functionality. Perhaps a Tax extension you may be using? Not sure.

    What we suggest is performing a conflict check to help determine if the issue is with the theme or with Yoast.

    1. Make sure you are using the most recent WordPress Core, v5.3.2. If you are not sure what version you have or how to update, your host provider can help. Also, be sure to update your non-Yoast plugins.

    2. Make sure the issue doesn’t persist when Yoast SEO is disabled.

    3. If the issue only happens when Yoast is enabled, please Check for conflicts.

    4. Check for JavaScript errors with your console.

    If you find any JavaScript errors related to Yoast SEO or if there is a conflict with a plugin or a theme, you can create a new GitHub issue for our developers. Please report the issue to a third party developer as well.

    If you didn’t find any conflicts or errors, we think the issue is specific to your site. We’d need to investigate further but are unable to do so on these forums. You can purchase Yoast SEO Premium and receive our Premium email support and we can help you further.

    • This reply was modified 6 years, 1 month ago by Pcosta88.
    Thread Starter Two Small Potatoes

    (@carpebean)

    Hi Pcosta88,

    Thanks so much for looking into this. What is a “Tax extension”? To my knowledge, I’m not using one. Is it something like a plugin I’d have to install?

    I followed your recommendations, and these are the results.

    1. I’m using the recent version of WordPress.

    2. The issue DOES persist when Yoast is disabled, so the plugin isn’t causing the problem.

    3. It’s not Yoast.

    4. I checked the console and found 2 Javascript errors. The first is related to Pinterest. There seems to be a call back issue with the Pinterest code I have on our site. When I disable the widget, the coding issue with cubell themes persists. The second Javascript error is related to a map plugin we purchased some time ago – Interactive World Map. We don’t pay for continued support for it and have never resolved the error, which resolves once the plugin is deactivated. Again though, deactivating the plugin doesn’t resolve the issue with cubell themes.

    At this point, it looks like the issue is with my site and is likely tied to my theme. Would you agree? I’m going to go ahead and contact my theme developer and see if he has any troubleshooting suggestions. If you have other tips, please let me know. If not, thanks again for your help!

    Carrie @ Two Small Potatoes

    @carpebean If the error doesn’t occur with the Yoast plugin activated, it’s unrelated to Yoast. What you could do next is to perform a conflict check to see if another plugin is causing the error, but it initially seems to be related to the theme. Is the theme using the most current version? If so the next best step would be to contact the theme developers for support.

    Thread Starter Two Small Potatoes

    (@carpebean)

    Hey @devnihil,

    Thanks for confirming that it’s not the Yoast plugin. I checked my other plugins as well and it doesn’t seem to be related to any of them either.

    I’m using the Valenti theme, so I searched the discussion forum on Envato for my theme. Several people mentioned having the exact same problem. From the responses left by the theme developer, it sounds like the culprit for them was the PHP version they were using. Several were using the newest version, and the theme developer recommended rolling back to an older, more widely accepted PHP version, PHP7. I’m guessing that is likely the problem, since I’m running on the current WordPress version, PHP 7.1.33. I have no idea how to revert back to an older PHP version though, nor do I think it’s probably necessary. This glitch with my site is one I can live with, assuming it’s not causing other errors or problems I don’t even know about.

    My theme developer is currently on vacation, but I’ll follow up and ask him if he has suggestions.

    Thanks!

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

The topic ‘Warning: Illegal string offset ‘url’’ is closed to new replies.