• Resolved thewirelessguy

    (@thewirelessguy)


    I’m getting an error in the header of my website:

    Warning: Illegal string offset ‘google_api’ in /wp-content/plugins/geo-my-wp/geo-my-wp.php on line 68
    Warning: Illegal string offset ‘country_code’ in /wp-content/plugins/geo-my-wp/geo-my-wp.php on line 68
    Warning: Illegal string offset ‘use_theme_color’ in /wp-content/plugins/geo-my-wp/geo-my-wp.php on line 91
    Warning: Illegal string offset ‘auto_locate’ in /wp-content/plugins/geo-my-wp/geo-my-wp.php on line 107
    Warning: Illegal string offset ‘locate_message’ in /wp-content/plugins/geo-my-wp/geo-my-wp.php on line 108

    http://ww.wp.xz.cn/extend/plugins/geo-my-wp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi,
    These are warning (not errors) of GEO my Wp – “Showing all PHP notices and warnings often results in error messages for things that don’t seem broken, but do not follow proper data validation conventions inside PHP.”
    i am working on removing all warnings and notices and hopefully will be clear by next update.

    you can turn off the warnings by setting wp_debug to false in your wp-config.php:
    define(‘WP_DEBUG’, false);
    unless you have another reason to have it on.

    duffingtonqc

    (@duffingtonqc)

    Hi there,

    I am having the same problem.

    When you look at the site on the front end there are line of text as listed above.

    When I went into the wp-config.php file it was already set to false.

    Is there anything else I can do?

    Would really welcome some help.

    May thanks

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi duffingtonqc,
    Here i posted a beta of the next update where I have cleaned up most of the warnings.
    Read the post before updating as i have made many changes in this update.

    Thanks for that.

    I have downloaded the Beta and have got this warning message coming up.

    Warning: Cannot use a scalar value as an array in /homepages/13/d463813826/htdocs/Singing/Singing Lessons/wp-includes/class.wp-scripts.php on line 145

    I also can’t seem to get the results from a search it send me to a 404 error page.

    I could be doing something wrong though haha

    Many thanks

    Thanks for that.

    I have downloaded the Beta and have got this warning message coming up.

    Warning: Cannot use a scalar value as an array in /homepages/13/d463813826/htdocs/Singing/Singing Lessons/wp-includes/class.wp-scripts.php on line 145

    I also can’t seem to get the results from a search it send me to a 404 error page.

    I could be doing something wrong though haha

    Many thanks

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi,
    The warning you are getting will be fixed in the next beta which should be posted by tomorrow so you should check back and download it.
    As for your search results not showing the only thing I can think of that will cause 404 page instead of results is that you are using default permalinks. If you do you need to change it in order to use GEO my WP.

    Also, for other issues/feedback you might get into please report in the comment of the post on my site. It is much easier for me to track it.

    Thank you

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

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