WordPress.org

Forums

AutoNav Graphical Navigation and Gallery Plugin
AutoNav fatal error (4 posts)

  1. jimchristian
    Member
    Posted 4 years ago #

    Am getting this error when I try to enable new version of the plugin:

    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/kinesiss/public_html/beta/wp-content/plugins/autonav/autonav-wl.php on line 139

  2. locworks
    Member
    Posted 4 years ago #

    Same here on a clean multisite installation of WP 3.0.1.

  3. wlindley
    Member
    Plugin Author

    Posted 4 years ago #

    What version of PHP ? The plugin requires PHP 5 or above; this is the line in question:

    foreach ($sorted_files as &$afile) {

    The &$afile means that the inner loop is permitted to modify the array elements as it proceeds through them.

  4. locworks
    Member
    Posted 4 years ago #

    PHP 5.2.14 for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags