• Resolved mack99

    (@mack99)


    The recent update caused the PayPal buttons in Easy Digital Downloads to stop working. The buttons would no longer open the checkout page. You could click on the PayPal button and nothing would happen. I rolled back to the old version for now and everything is working as it should again.

    I made note of this in the Easy Digital Downloads support forum as well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi mack99,

    Thank you for reaching out!

    I have forwarded this issue to our team for further review and investigation. We’ll get back to you as soon as we have an update.

    In the meantime, please continue using WP Statistics version 14.11.4.

    We appreciate your patience and understanding.

    Regards,
    Sania

    Hi mack99,

    Thank you for your patience!

    After conducting multiple tests, we can confirm that the plugins are working properly together on our end.

    Could you please deactivate all other plugins—except WP Statistics and EDD—and then activate them one by one to determine which plugin might be causing the issue?

    We look forward to your response.

    Regards,
    Sania

    Hi @saniamohammadi

    Mihai here with the EDD Support team!

    I ran a test with this on a fresh WP install with just EDD (latest version) and WP Statistics. All I have done is created one product in EDD, I went to the Store page, and tried the Add to Cart button. The Ajax request fails and the below error message is logged:

    [11-Jan-2025 15:22:12 UTC] PHP Fatal error:  Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, string given in /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Utils/Request.php:29
    Stack trace:
    #0 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Utils/Request.php(29): array_map('sanitize_text_f...', '52')
    #1 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Abstracts/BaseMetabox.php(143): WP_Statistics\Utils\Request::get('current_page', Array, 'array')
    #2 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Service/Admin/Metabox/Metaboxes/PostSummary.php(33): WP_Statistics\Abstracts\BaseMetabox->isSinglePost()
    #3 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Service/Admin/Metabox/MetaboxHelper.php(74): WP_Statistics\Service\Admin\Metabox\Metaboxes\PostSummary->isActive()
    #4 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Service/Admin/Metabox/MetaboxManager.php(19): WP_Statistics\Service\Admin\Metabox\MetaboxHelper::getActiveMetaboxes()
    #5 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-includes/class-wp-hook.php(324): WP_Statistics\Service\Admin\Metabox\MetaboxManager->registerMetaboxes('')
    #6 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #7 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-admin/admin-ajax.php(45): do_action('admin_init')
    #9 {main}
    thrown in /Users/mihai/Desktop/HTDOCS/testing/app/public/wp-content/plugins/wp-statistics/src/Utils/Request.php on line 29
    Plugin Support Matthew

    (@mhdizmni)

    Dear @mack99,

    I’m pleased to inform you that we have resolved the issue and plan to release the fix within the next 24 hours.

    Dear @misulicus, we truly appreciate your support and contributions regarding this issue on GitHub.

    Thank you both for your input and patience!

    Regards,
    Matthew

    Plugin Support Matthew

    (@mhdizmni)

    Dear @mack99 and @misulicus,

    I’m pleased to inform you that we have resolved the issue in version 14.12.1.

    Kindly update WP Statistics to the latest version and enjoy!

    Thank you for your continued support.

    Regards,
    Matthew

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.