Hi @shawaj,
Could you please share the errors you are getting?
Best regards,
Anton
Thread Starter
shawaj
(@shawaj)
FILE: /srv/http/vhosts/site.com/httpdocs/wp-content/plugins/wp-smushit/lib/class-wp-smush-recommender.php
-----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------------------------
80 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__DIR__' (since version 5.3)
-----------------------------------------------------------------------------------------------------------------------------------
FILE: /srv/http/vhosts/site.com/httpdocs/wp-content/plugins/wp-smushit/lib/class-wp-smush-admin.php
------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------
374 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword '__DIR__' (since version 5.3)
------------------------------------------------------------------------------------------------------------------------------------
-
This reply was modified 7 years, 10 months ago by
shawaj.
@shawaj,
These will be removed in the upcoming update. But, it’s actually a false positive, you won’t get any errors/warnings on PHP 7.2.
Best regards,
Anton