Support » Plugin: MailUp newsletter sign-up form » Mamp crash

  • Resolved nick76

    (@nick76)


    Hello, installation fails on localhost with MAMP (5.0.1). As soon as I click “activate” the webserver crashes throwing an httpd error and ERR_EMPTY_RESPONSE.
    This is both on a localhost devel site with other plugins active and on a new localhost freshly installed. WP 4.9.8.
    Any ideas? I need to try the plugin before using it on production website…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nick76

    (@nick76)

    I have found out (by accident) that many translatable string start with _( instead of __( (that is with one single underscore instead of two). If I change them to two underscores the plugin works. Does MailUp require specific l18n tools to be installed to work properly?

    Plugin Author MailUp, Inc.

    (@mailup)

    Hi @nick76,
    Thanks for your message. It’s the first time this kind of problem has been reported and the plugin is currently running on many production sites. As we are not MAMP experts, it would be great if any other developer following this forum will provide his feedback. As MailUp, we will contribute on this check.

    The wp-mailup plugin was designed to support WPML and Polylang as optional tools for translations but we have also run many successful tests without them.

    Anyway, I’m glad you managed to find what’s wrong in your case and maybe it will be a good hint in case it will be confirmed that there is a bug to be fixed.
    I would recommend you to subscribe to this thread in order to receive updates.
    Best

    Thread Starter nick76

    (@nick76)

    Thank you for your answer. I’ve tried an older MAMP, an older WordPress but they still crash.

    ODDLY ENOUGH the plugin installs in a breeze on the production site, so I can only think there’s something different in the way the server itself is configured.

    Perhaps is is gettext related? I seem to understand that ” _( ” introduces strings translatable through gettext, but on this WP doc page -> https://codex.wordpress.org/I18n_for_WordPress_Developers#Introduction_to_Gettext they suggest the use of _e( or __( instead.

    I’m really lost…

    Plugin Author MailUp, Inc.

    (@mailup)

    Hi @nick76,
    Could you try switching from MAMP to Local by Flywheel? We did it on a Mac Pro and it worked fine. Perhaps Flywheel is less restrictive than MAMP.
    Our test configuration includes Apache, PHP 5.6.20, MySql 5.6.34 and WordPress 4.9.8.

    Thanks for sharing the notes about Gettext, I’ll pass them to the developers.

    Regards

    Thread Starter nick76

    (@nick76)

    I did not know about Local by Flywheel, thanks for the suggestion!
    I’ve tried it and it DOES work (apache, php 7.2, MySql 5.5, WP 4.9.8 – I wanted to check on a slightly different config than yours to double check).
    At this point, it really has to come down to the environment MAMP creates and how that relates to translation functions regardless of the version, since downgrading mamp and reinstalling did not help either. Unless it has to do with some obscure High Sierra/mamp interaction bug…anyway if you had a chance to try mamp on your end that would probably help your developers even more.
    I’ll be subscribed so if you find out something new let us all know! And please give the possibility of using different widgets for different newsletter lists 😉
    Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mamp crash’ is closed to new replies.