• Resolved mbmparis

    (@mbmparis)


    Hello,

    This morning, I faced a really annoying problem. I had a 504 Gateway Error. After digging in the slow error logs, and with the help of my host (Flywheel is so great), we figured out that Mangopay was trying to get a list of data that made the access of wp-admin quite impossible.
    Here’s an extract of my error logs :

    [14-Nov-2017 09:14:31]  
    script_filename = /www//wp-admin/index.php
    [0x00007fe75ae14b40] curl_exec() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/RestTool.php:119
    [0x00007fe75ae14880] RunRequest() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/RestTool.php:102
    [0x00007fe75ae14690] Request() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/ApiBase.php:240
    [0x00007fe75ae14380] GetList() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/ApiEvents.php:19
    [0x00007fe75ae142f0] GetAll() /www/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php:1258
    [0x00007fe75ae13ff0] get_failed_payouts() /www/wp-content/plugins/mangopay-woocommerce/inc/admin.inc.php:980
    [0x00007fe75ae131d0] failed_transaction_widget() /www/wp-admin/includes/template.php:1050
    [0x00007fe75ae12bb0] do_meta_boxes() /www/wp-admin/includes/dashboard.php:218
    [0x00007fe75ae12a10] wp_dashboard() /www/wp-admin/index.php:136
    
    [14-Nov-2017 09:16:01]  
    script_filename = /www//wp-admin/index.php
    [0x00007fe75ae14b40] curl_exec() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/RestTool.php:119
    [0x00007fe75ae14880] RunRequest() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/RestTool.php:102
    [0x00007fe75ae14690] Request() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/Libraries/ApiBase.php:240
    [0x00007fe75ae14380] GetList() /www/wp-content/plugins/mangopay-woocommerce/sdk/MangoPay/ApiEvents.php:19
    [0x00007fe75ae142f0] GetAll() /www/wp-content/plugins/mangopay-woocommerce/inc/mangopay.inc.php:1258
    [0x00007fe75ae13ff0] get_failed_payouts() /www/wp-content/plugins/mangopay-woocommerce/inc/admin.inc.php:980
    [0x00007fe75ae131d0] failed_transaction_widget() /www/wp-admin/includes/template.php:1050
    [0x00007fe75ae12bb0] do_meta_boxes() /www/wp-admin/includes/dashboard.php:218
    [0x00007fe75ae12a10] wp_dashboard() /www/wp-admin/index.php:136

    When Flywheel deactivated Mangopay, I could access to the dashboard.
    Is there a setting that I could change to prevent the issue to happen again ?

    Thank you for your help

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi !
    Same highly CRITICAL problem here…

    As a temporary work-arround, I’ve commented the whole content of get_failed_payouts() function.

    Be careful doing this, there are “/** */” comments in the middle of the function.

    Plugin Author mangopay

    (@mangopay)

    Hello!

    Due to an internal restructuring on our team, we were not as responsive as we used to. We truly apologize for this period.

    Did you manage to permanently solve this issue?

    All the best,

    Wladimir d’Harcourt
    Product manager @mangopay

    Thread Starter mbmparis

    (@mbmparis)

    Hello !

    Honestly, not really … sometimes it works, sometimes it does not. :-/ …

    Plugin Author Yann at WP&Co

    (@ydubois)

    We are going to improve calls to the MANGOPAY API in the dashboard to get info about the failed payouts, so that if the MANGOPAY API is not reachable for any reason, this will not block the dashboard.

    Will be fixed in the next release of the plugin.

    Plugin Author Yann at WP&Co

    (@ydubois)

    The latest release implements asynchronous loading of the failed transactions dashboards, so they will not break the WordPress administration.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mangopay is blocking my dashboard’ is closed to new replies.