Title: Php error after some changes
Last modified: September 1, 2016

---

# Php error after some changes

 *  [jmonteil](https://wordpress.org/support/users/jmonteil/)
 * (@jmonteil)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-after-some-changes/)
 * Hi,
 * I got the following error since yesterday :
    Parse error: syntax error, unexpected‘}’
   in /var/www/sites/wordpress_project/motorevue_prod/wordpress/wp-content/plugins/
   custom-amp-accelerated-mobile-pages/classes/class-add-menu.php on line 1
 * I did some changes in the file class-add-menu.php. But I have since replaced 
   all files in which ones I had done changes with the original files. But the error
   is still there.
 * I also replaced all my changes on the plugin AMP from Automattic with their original
   files.
 * Could someone help me please ?
 * Thanks in advance,
 * Joffrey
 * [https://wordpress.org/plugins/custom-amp-accelerated-mobile-pages/](https://wordpress.org/plugins/custom-amp-accelerated-mobile-pages/)

The topic ‘Php error after some changes’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-amp-accelerated-mobile-pages_1578bc.
   svg)
 * [Custom AMP](https://wordpress.org/plugins/custom-amp-accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-amp-accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-amp-accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-amp-accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-amp-accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-amp-accelerated-mobile-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jmonteil](https://wordpress.org/support/users/jmonteil/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/php-error-after-some-changes/)
 * Status: not resolved