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

    (@wpsolr)

    Can you give me more details about your environment ?

    => versions of OS, WordPress, PHP

    Thread Starter yellowscottt

    (@yellowscottt)

    CentOS 6.6 64 bit
    WordPress 3.8.3
    PHP Version 5.3.29

    Plugin Author WPSolr free

    (@wpsolr)

    Found the issue.

    The line 670:
    $lastPostDate = end( $ids_array )['post_modified'];

    is valid in PHP5.4, not 5.3 (array dereference on call).

    I’ll quickly deliver a new version.

    Thread Starter yellowscottt

    (@yellowscottt)

    Amazing, thank you.

    Plugin Author WPSolr free

    (@wpsolr)

    There’s a new WPSOLR 2.1 version, which should solve your issue.

    Please try and tell me if it’s ok now.

    Thread Starter yellowscottt

    (@yellowscottt)

    A new error that didn’t appear before is showing now on activation:

    Parse error: syntax error, unexpected ‘[‘ in /home/site/public_html/wp-content/plugins/wpsolr-search-engine/classes/extensions/wpsolr-extensions.php on line 38

    Plugin Author WPSolr free

    (@wpsolr)

    Same issue.

    I’ve checked every file with PHP 5.3 inspector, and updated WPSOLR 2.1 accordingly.

    Should be good now.

    Thread Starter yellowscottt

    (@yellowscottt)

    Thanks for the great support.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error when activating plugin’ is closed to new replies.