(my site directory) points to the common.php?
Line 1764 in common.php is bellow
if ( ! defined( 'DOING_AJAX' ) || empty( DOING_AJAX ) ) {
This syntax is not supported in php version 5.4 and earlier.
For now, I think that the error does not appear if you change the version of php later 5.5.
I’m getting the same error. It actually shut my site down until I uninstalled the plugin.
-
This reply was modified 9 years, 7 months ago by
jmorti.
I updated PHP from 5.2 to 5.6 and the error message went out.
Thank you for your quick and correct advice.
hidenori
Ditto here. I took two sites down. The error is not consistent as it did install well on two other sites.
SK
(@sooskriszta)
Parse error: syntax error, unexpected ‘)’, expecting T_PAAMAYIM_NEKUDOTAYIM in (my site directory) on line 1764
Same here.
same here. using PHP Version : 5.4.45 / 64Bit OS
had to remove the plugin as I ca not change php versions at the moment
-
This reply was modified 9 years, 7 months ago by
udijw.
just released fix in 3.0.1
Still getting this error in 3.0.1
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘)’, expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in wp-content/plugins/ewww-image-optimizer/common.php on line 1765
-
This reply was modified 9 years, 7 months ago by
udijw.
What the heck! The code reverted itself. Going to go see what in the world just happened, and push it as 3.0.2…