• Like others also got the error with version 3.0.0 update:

    Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /home/******/public_html/wp-content/plugins/ewww-image-optimizer/common.php on line 1764

    Now that’s a wacky error ??

    Had a look at the relevant code and think modifying the file

    /ewww-image-optimizer/common.php

    As follows gets rid of the parse error.

    Change lines 1764, 1772, 1781, 1799 and 1813,

    From

    if ( ! defined( 'DOING_AJAX' ) || empty( DOING_AJAX ) ) {

    To

    if ( !defined('DOING_AJAX') || ! DOING_AJAX ) {

    Not sure if it has any impact on functionality, just quickly getting a fix. I’ve only tested this on localhost so far, putting the info out there quickly for others.

    David Law

Viewing 2 replies - 16 through 17 (of 17 total)
  • Where else could the plugin we found? I have followed the steps you gave in the blog post and ewww image optimizer isn’t even listed under the plugins…

    FOUND IT!! i created the site on a sub-domain so i was in the wrong folder/file. Whatever…Im back in business! thanks guys

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘EWWW Image Optimizer Parse Error expecting T_PAAMAYIM_NEKUDOTAYIM v3.0.0 Fix’ is closed to new replies.