• Resolved napcok

    (@napcok)


    I have PHP Parse error trying to search by search widget.
    Error log output:
    [Thu Oct 27 23:36:02.061775 2016] [:error] [pid 13118] [client 127.0.0.1:43988] PHP Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /opt/www/firma.dev/wp-content/plugins/simple-directory/templates/archive-listing.php on line 40

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter napcok

    (@napcok)

    New version 1.6.6 is released and this bug is still not fixed.

    I think you should test before release.

    This bug is very easy to fix anyway, just change short open tag to normal php open tag in line 29 in archive-listing.php

    Also if you use define( ‘WP_DEBUG’, true ); in wp-config.php you will see more debug information like for example:
    Notice: Undefined variable: current_version in /wp-content/plugins/simple-directory/simple-directory.php on line 45

    Plugin Author michaellautman

    (@michaellautman)

    Thanks for pointing out the bug. It is fixed in the new version.

    M

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search widget does not work’ is closed to new replies.