Title: getting error while installing plugin
Last modified: August 21, 2016

---

# getting error while installing plugin

 *  [Nishith Desai](https://wordpress.org/support/users/nsdesai/)
 * (@nsdesai)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/getting-error-while-installing-plugin/)
 * I am geeting folowing error
 * Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION)
   in C:\xampp\htdocs\wordpress\wp-content\plugins\mage-google-maps\cast\mage-maps.
   php on line 380
 * [https://wordpress.org/plugins/mage-google-maps/](https://wordpress.org/plugins/mage-google-maps/)

Viewing 1 replies (of 1 total)

 *  [Dave Hilditch](https://wordpress.org/support/users/dhilditch/)
 * (@dhilditch)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-while-installing-plugin/#post-5070451)
 * Hi Nishith, I’m not the developer but I just got the same error.
 * Luckily, I’m a developer so I managed to find the problem. You can fix using 
   FTP – find the following file and edit it:
 * > /wp-content/plugins/mage-google-maps/cast/mage-maps.php
 * On line 182 you’ll see the following code:
 *     ```
       <? } ?>
       ```
   
 * Change that to:
 *     ```
       <?php } ?>
       ```
   
 * and save the file.
 * Basically <? is a short tag and your server does not allow short tags. If you
   can change your server setup you can change it to allow short tags but that’s
   probably more complicated than the above fix.

Viewing 1 replies (of 1 total)

The topic ‘getting error while installing plugin’ is closed to new replies.

 * ![](https://ps.w.org/mage-google-maps/assets/icon-128x128.png?rev=1330132)
 * [Mage Google Maps](https://wordpress.org/plugins/mage-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mage-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mage-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/mage-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mage-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mage-google-maps/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dave Hilditch](https://wordpress.org/support/users/dhilditch/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/getting-error-while-installing-plugin/#post-5070451)
 * Status: not resolved