Forums

[resolved] [Plugin: GD Star Rating] Warning: Invalid argument supplied for foreach() (5 posts)

  1. john_dh
    Member
    Posted 2 years ago #

    I'm getting this error on the Tools>Cleanup panel

    Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/a/wp-content/plugins/gd-star-rating/gdragon/gd_functions.php on line 146
    0 bytes

    A similar warning occurs for line 164

    Clicking Cleanup give:

    Warning: Invalid argument supplied for foreach() in /home/develope/public_html/a/wp-content/plugins/gd-star-rating/code/adm/elements.php on line 42

    Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/a/wp-content/plugins/gd-star-rating/code/adm/elements.php:42) in /home/mysite/public_html/a/wp-includes/pluggable.php on line 868

    When I installed the plugin, I defined the wp-load.php in the plugin config.php correctly.

    Any thought?

    Cheers

    http://wordpress.org/extend/plugins/gd-star-rating/

  2. Milan Petrovic
    Member
    Posted 2 years ago #

    OK, I think I have found the problem. Fix will be in 1.8.4. For now, you can disable cache cleanup from Settings panel.

  3. john_dh
    Member
    Posted 2 years ago #

    GDragoN

    Thanks for that. Yes no problem.

    I was also looking at what Google has to say about hidden content re 'Rich Snippets' Google says it's a no, no. I might be wrong, but hreview seems to be hidden. Will this be addressed in future updates?

    Many thanks

    John

  4. Milan Petrovic
    Member
    Posted 2 years ago #

    Yes, they apparently changed that. Their test tool for reviews allows hidden review block, but they will ignore it for results.

    GDSR 2.0 will add these reviews differently and they will not be hidden. Also, there will be other ways to add them to the page, so it will be up to Google specifications.

  5. john_dh
    Member
    Posted 2 years ago #

    GDragoN

    I will be looking forwards to ver 2.0.

    many thanks for your prompt replies.

    John

Topic Closed

This topic has been closed to new replies.

About this Topic