Title: Parse Error
Last modified: November 20, 2019

---

# Parse Error

 *  Resolved [nikkiwoodsmedia](https://wordpress.org/support/users/nikkiwoodsmedia/)
 * (@nikkiwoodsmedia)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/parse-error-522/)
 * I’m receiving this error and can no longer log into my website.
 * Parse error: syntax error, unexpected T_STRING in /home/content/16/7538416/html/
   JOANNFASTOFF/wp-content/plugins/foogallery/includes/compatibility/class-elementor-
   compatibility.php on line 28
 * What do I do?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-522%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/parse-error-522/#post-12156206)
 * Hi
 * I looks like there is a conflict with the version of elementor you are running.
   What version of elementor are you using?
 * For the meantime, you can comment out line 28 of that file so it will look like
   this:
 *     ```
       // \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new Elementor_FooGallery_Widget() );
       ```
   
 * Save the file and then you will no longer have the problem.
 *  Thread Starter [nikkiwoodsmedia](https://wordpress.org/support/users/nikkiwoodsmedia/)
 * (@nikkiwoodsmedia)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/parse-error-522/#post-12156452)
 * Thank you for your response.
 * I am not able to access my website so how do I change the file?
 *  [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * (@phillcoxon)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/parse-error-522/#post-12157021)
 * Hi [@nikkiwoodsmedia](https://wordpress.org/support/users/nikkiwoodsmedia/),
 * You will need to talk to your web hosting provider about how to gain access to
   your files on the server. Most hosting offers FTP access or control panel access.
 * It would be best if a developer or someone familiar with WordPress did this for
   you as it’s very easy to break things if we aren’t familiar with the process.
 * Before trying to edit any files please do make sure you have upgraded to the 
   latest version of Elementor and FooGallery and test again to make sure it hasn’t
   already been resolved.
 * Do you have someone who can assist you with editing the file if needed?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Parse Error’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [phillcoxon](https://wordpress.org/support/users/phillcoxon/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/parse-error-522/#post-12157021)
 * Status: resolved