-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.
Description
Description
When Optimole is activated on wordpress.com hosted sites, a few users are getting critical error during access to wp-admin with this line as the error log
PHP Parse error: syntax error, unexpected namespaced name "Photon_Subsizes_OptimoleWP\Off...", expecting identifier in /wordpress/mu-plugins/photon-subsizes/photon-subsizes.php(139) : eval()'d code on line 1
To solve we have to temporarily cancel this line in code - https://github.com/Codeinwp/optimole-wp/blob/master/inc/v2/Offload/Loader.php#L28
But we should work on a permanent fix here, it seems related to JetPack
Step-by-step reproduction instructions
NA
Screenshots, screen recording, code snippet or Help Scout ticket
https://secure.helpscout.net/conversation/2981890891/467194
https://secure.helpscout.net/conversation/3094342530/473257
Environment info
No response
Is the issue you are reporting a regression
No
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.Indicates the request came from a customer.