Title: [Plugin: SendPress] small bug in php causes parse errors on default MAMP
Last modified: August 20, 2016

---

# [Plugin: SendPress] small bug in php causes parse errors on default MAMP

 *  Resolved [Sandro Dzneladze](https://wordpress.org/support/users/sandrodz/)
 * (@sandrodz)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-sendpress-small-bug-in-php-causes-parse-errors-on-default-mamp/)
 * Hi,
 * On default mamp installation I see parse errors on php.
 * PHP Parse error: parse error in /Library/WebServer/Documents/wordpress/wp-content/
   plugins/sendpress/inc/forms/email-style.2.0.php on line 309, referer: [http://localhost/wordpress/wp-admin/](http://localhost/wordpress/wp-admin/)
 * This is because by default on this config php shortcode is disabled.
 * So, this <? should be rewritten to <?php to be on the safe side.
 *  <?if ( false !== $this->get_option(‘canspam’) ){
    echo wpautop( $this->get_option(‘
   canspam’) ); } else { ?> Blog/Company Name Street Address Anywhere, USA 01234
   <?php } ?> </div>
 * I personally enabled shortcode in php.ini, and I would not consider this a bug
   perse… but who knows how many servers out there have it disabled like me 🙂
 * [http://wordpress.org/extend/plugins/sendpress/](http://wordpress.org/extend/plugins/sendpress/)

The topic ‘[Plugin: SendPress] small bug in php causes parse errors on default MAMP’
is closed to new replies.

 * ![](https://ps.w.org/sendpress/assets/icon.svg?rev=979185)
 * [SendPress Newsletters](https://wordpress.org/plugins/sendpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sendpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sendpress/)
 * [Active Topics](https://wordpress.org/support/plugin/sendpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sendpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sendpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Sandro Dzneladze](https://wordpress.org/support/users/sandrodz/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-sendpress-small-bug-in-php-causes-parse-errors-on-default-mamp/)
 * Status: resolved