• gspixie

    (@gspixie)


    I was logged in as Administrator and clicked on the updates, but afterward I could not reach my site from any browser and instead only get this message:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/90/5703590/html/wp-content/plugins/another-wordpress-classifieds-plugin/includes/settings-api.php on line 530

    Because I can’t get to my website, I can’t even try to do anything. I’m in a bind because this belongs to a nonprofit that may no longer have the record of the activation key from WordPress from when we launched the site, so I can’t prove ownership of it to get through to the support team.

    Anyone have any ideas?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator t-p

    (@t-p)

    Your another-wordpress-classifieds-plugin plugin seems to be the error.

    Access your server via FTP/ SFTP , or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and delete another-wordpress-classifieds-plugin plugin

    te_taipo

    (@te_taipo)

    @gspixie What version of PHP is running on your website? That syntax error is quite common when the version of PHP is older than 5.3

    Thread Starter gspixie

    (@gspixie)

    Thank you! Deleting that plugin did restore access to the site, but it seems to have deleted the classified ads.

    Moderator t-p

    (@t-p)

    I recommend reporting the issue at the plugin’s dedicated support forum so the plugin’s developers and support community can help you with this.

    Thread Starter gspixie

    (@gspixie)

    Thank you very much.

    te_taipo

    (@te_taipo)

    Also read https://ww.wp.xz.cn/about/requirements/ as I have a suspicion your server runs an old version of PHP that very few coders support anymore.

    Moderator t-p

    (@t-p)

    Exactly Where did you acquired this plugin from? URL of the plugin?

    Thread Starter gspixie

    (@gspixie)

    In the Admin dashboard for the site, it showed plugins that needed to be updated.

    te_taipo

    (@te_taipo)

    Line 530: $sort_callback = function( $a, $b ) {

    @t-p Nothing wrong with the code, that callback function is only available from PHP 5.3 onward.

    Moderator t-p

    (@t-p)

    But where did you downloaded it from?

    The reason I asked so that I may guide you their support forum.

    If I search the plugin dorectory (https://ww.wp.xz.cn/plugins/) for another-wordpress-classifieds-plugin, this plugin does not show up in the search. See https://ww.wp.xz.cn/plugins/search/another-wordpress-classifieds-plugin/

    • This reply was modified 8 years ago by t-p.
    te_taipo

    (@te_taipo)

    Search AWPCP

    Moderator t-p

    (@t-p)

    See: That plugin Requires PHP Version: 5.6

    If you still having issue with it, I recommend reporting/asking at https://ww.wp.xz.cn/support/plugin/another-wordpress-classifieds-plugin so the plugin’s developers and support community can help you with this.

    • This reply was modified 8 years ago by t-p.
Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Web site broken b/c “Parse error: syntax error, unexpected T_FUNCTION”’ is closed to new replies.