• Resolved yann1808

    (@yann1808)


    Hello,

    trying to install wpsolr, but I’m getting
    Warning: Invalid argument supplied for foreach() in C:\Users\user\xampp\htdocs\WP\wp-content\plugins\wpsolr-search-engine\classes\extensions\wpsolr-extensions.php on line 591

    Warning: Invalid argument supplied for foreach() in C:\Users\user\xampp\htdocs\WP\wp-content\plugins\wpsolr-search-engine\classes\extensions\wpsolr-extensions.php on line 604

    when I activate the plugin.

    This is with WP 4.5.3, windows 8, Xampp stack (latest version).

    When I configure the plugin and try to index my 2-page site, nothing gets indexed, I suspect it’s connected to this issue?

    Thanks for comments,

    Yann

    https://www.ads-software.com/plugins/wpsolr-search-engine/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WPSolr free

    (@wpsolr)

    Which WPSOLR version is it ?

    I cannot reproduce the problem.

    Thread Starter yann1808

    (@yann1808)

    Thanks for your answer!

    It’s 11.2.

    My WordPress is in French, not sure if it might make a difference?

    No other plugin installed.

    Yann

    Plugin Author WPSolr free

    (@wpsolr)

    when I activate the plugin.

    You should see this error on every page on the admin.

    When I configure the plugin and try to index my 2-page site, nothing gets indexed, I suspect it’s connected to this issue?

    No, it’s not related.

    Thread Starter yann1808

    (@yann1808)

    Yes I do see this error on every admin page.

    Plugin Author WPSolr free

    (@wpsolr)

    I sent you a fix in PM, for testing.

    Thread Starter yann1808

    (@yann1808)

    Thanks! The errors don’t show anymore.

    I do have a site with two pages (both published, I see them if I open my site when not logged in), and a Solr Index with the suggested config files; the connection with Solr works (green checkmark), but clicking on “Synchronize” doesn’t index anything.

    Plugin Author WPSolr free

    (@wpsolr)

    Open a new ticket for that.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Warning: Invalid argument supplied for foreach()’ is closed to new replies.