• 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: https://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 ??

    https://www.ads-software.com/extend/plugins/sendpress/

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