• Resolved pabval2

    (@pabval2)


    After installing the plugin and getting things approved, the overview page of the woopayments plugin does not load. It shows the content for a couple of seconds but throws an error and content dissapears. The error is Cannot read properties of undefined (reading ‘filter’). I will attach a screenshot of the problem and the developer tools in chrome.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello pabval2,

    Thank you for contacting Woo support.

    The error you’re encountering, “Cannot read properties of undefined (reading ‘filter’),” typically suggests a JavaScript issue, which could be due to a conflict or a corrupted file.

    If you haven’t already, I recommend deleting the WooPayments plugin and reinstalling it to ensure that all files are correctly loaded.

    Additionally, share a screenshot of the error using Snipboard.io so I can get a clearer view.

    It would also be helpful if you could provide details on your active theme and a list of active plugins, as conflicts can sometimes arise from these.

    Looking forward to your reply.

    Best regards.

    Thread Starter pabval2

    (@pabval2)

    I re-installed the plugin and same error again.

    Here is an image of the error:https://snipboard.io/pKQv7w.jpg

    And this one from the complete error log: https://snipboard.io/Ri0Bjh.jpg

    In addition, I am getting another php error (does not appear whithout woopayments) on a child-theme development as follows: [03-Sep-2024 09:55:39 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart() on null in /xxx/httpd.www/wp-content/themes/child-theme/modules/order_delivery_date.php:97. The code there is just:

    foreach ( $cart->get_cart() as $cart_item_key => $cart_item )

    Thank you.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello pabval2,

    Thank you for your reply.

    The PHP error might be related to the JS error.
    At this point, it is not clear what is causing this error.

    To troubleshoot this further, I suggest performing a conflict test.
    This way we can pinpoint the cause of the error and find a solution.

    Let me know about your findings after performing the conflict test.
    Looking forward to your response. ??

    Best regards.

    Thread Starter pabval2

    (@pabval2)

    Ok I will run a conflict test as soon as I′m done with another task that needs to be done in advance. I will keep you posted as soon as I get some results.

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello pabval2,

    Yes, of course.
    Please take your time.
    I am here for you whenever you are ready for the conflict test.

    Have a great day!

    Thread Starter pabval2

    (@pabval2)

    Ok, now I managed to run the conflict test and found that there was an own developed plugin that was the reason for conflict. It is now fixed and the dashboard page seems to work again.

    I′m though getting a lot of warnings on debug.log from WooPayments as follows:

    [xx-Sep-2024 xx:xx:xx YYY] PHP Deprecated: woocommerce_rest_api_option_permissions is deprecated since version 6.3.0 with no alternative available.?in …/wp-includes/functions.php on line 6085

    Anything to worry about?

    Hey, @pabval2!

    Is this error only showing if WooPayments is active?

    Is it showing a lot or only once?

    Can you please check if your theme and all plugins are updated?

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter pabval2

    (@pabval2)

    Thank you for quick answer.

    Yes it′s coming from Woopayments only. It shows many warnings that are equal. All plugins and themes are updated (checked already to fix the first error with php above).

    Plugin Support RK a11n

    (@riaanknoetze)

    Hey @pabval2 – Thanks for sharing that debug log.

    It’s not something to worry about and our developers are aware of it. For a deeper behind-the-scenes look, the following links will come in handy:

    I’ve also gone ahead a linked this forum thread to the open bug reports listed above.

    Thread Starter pabval2

    (@pabval2)

    Ok, then I know. Thank you for all your support.

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @pabval2,

    You’re welcome! I’m glad we could help.

    Should you have further inquiries, kindly?create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review?here? It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a long way.

    Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Cannot load Woopayments overview page’ is closed to new replies.