• Resolved whitelamp

    (@whitelamp)


    I have removed (not just deactivated) both the other braintree payment plugin and a Barclays payment plugin. But I am still getting a 500 server error on wp-admin when I activate the plugin after installation. There’s nothing in the php or apache error logs to give me a clue.

    WordPress 4.3.3 running WD FashionZozza theme. Woocommerce 2.4.10.

    https://ww.wp.xz.cn/plugins/woo-payment-gateway/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Clayton R

    (@mrclayton)

    Hi Whitelamp,

    You should set WP_DEBUG to true and see what the message says. What PHP version are you using? 5.4 is the minimum PHP version so start there.

    You are running some pretty old versions of WordPress and WooCommerce. I’d highly recommend that you upgrade for security purposes.

    Thread Starter whitelamp

    (@whitelamp)

    Hi,

    I have run the wordpress and plugin updates.

    I really should remember WP_DEBUG <grin>. With that on the wp-admin pages come back with code 200 rather than 500 but completely blank. Server logs show
    “GET /wp-admin/ HTTP/1.1” 200 366
    so that’s 366 bytes. Still no notices in the error log. Inserting my own error_log() call into, say, wp-config.php shows that error logging is working.

    PHP version 5.6.22.

    Plugin Author Clayton R

    (@mrclayton)

    So you have deactivated all the other Braintree plugins? If there are duplicate class names found PHP will error out. After the white screen have you tried to access another page on your site?

    Thread Starter whitelamp

    (@whitelamp)

    So it was a memory exhaustion issue. Not sure why Apache was not logging it until I turned on error_reporting(E_ALL); inside wp-config.

    But thanks for talking me through it, most helpful.

    Plugin Author Clayton R

    (@mrclayton)

    Glad that you were able to get it resolved. For the benefit of others, can you list out the settings you changed within Apache to improve your memory allocation?

    Thanks,

    Hi @whitelamp & Mr. Clayton,

    I am having a similar issue…

    I had no trouble installing and activating this plugin (Braintree for Woocommerce) on my staging server, which contained several other deactivated braintree plugins, but I cannot seem to activate the plugin on my live site without crashing the whole system.

    As far as I can tell there should be no conflicting plugins on the live site (all plugins on the live site are also activated on the staging site, plus the staging site have several others activated…)

    Any recommendations? @whitelamp, what was the solution you implemented?

    @mr.Clayton – any known issues/conflicts with other plugins?

    It may be worth noting I do not have WooCommerce installed on this site (nor the staging site).

    Please advise, any assistance would be greatly appreciated. (I have already purchased the product with support)

    Thank you!
    Aidan

    Thread Starter whitelamp

    (@whitelamp)

    Hi,

    in wp-config.php
    define( ‘WP_MEMORY_LIMIT’, ‘512M’ );

    Plugin Author Clayton R

    (@mrclayton)

    Thanks Whitelamp.

    @aidanroark, feel free to contact us directly a [email protected] so we can help you out. There are no known plugin conflicts so I suspect it is server related.

    Kind Regards,
    Clayton

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

The topic ‘500 server error’ is closed to new replies.