• Hi,
    Not able to install the plugin and getting this error
    Parse error: syntax error, unexpected ‘[‘ in htdocs/wp-content/plugins/webp-express-master/lib/admin.php on line 82

    I tried adding the plugin both from WordPress and Github.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rosell.dk

    (@roselldk)

    Odd.

    Anyway, the code triggering the error is actually not even used. I forgot to clean it up.

    Can you try to delete line 75-117 in admin.php, and tell me if that fixes it?

    Line 75 is this line:
    “add_action(‘wp_ajax_webpexpress_request_access’, ‘webpexpress_request_access’);”

    Line 117 is the last line in admin.php

    Plugin Author rosell.dk

    (@roselldk)

    Actually, you can delete from line 52 and down

    Plugin Author rosell.dk

    (@roselldk)

    I have just released 0.9.0, which hopefully fixes this issue.
    Does the new release work for you, @james7000?

    • This reply was modified 5 years, 11 months ago by rosell.dk.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse Error’ is closed to new replies.