• Resolved digininja

    (@digininja)


    In happy-elementor-addons/classes/dashboard-widgets.php line 56 sets $maxitems if there is not an error pulling content from the rss feed, if there is an error then $maxitems doesn’t get defined and so when it is later used on line 107 the page throws an error.

    I assume you could just default $maxitems to 0 on line 54 so it is defined but I’ve not tried that out.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Saiful Islam

    (@saifislam01)

    Hi @digininja,

    Thanks so much for bringing this to our attention!

    Your suggestion to initialize $maxitems to 0 as a fallback (e.g., around line 54) is spot on and would help prevent the undefined variable issue. While we haven’t officially tested this fix across all use cases yet, it’s a solid workaround for now. We’ll also share this with our development team so they can consider implementing a more robust solution in an upcoming update.

    Thanks again for reporting this and helping make HappyAddons better! Let us know if you need help applying the fix or run into anything else.

    Plugin Support Al Rubyat

    (@rubyat13)

    Hi @digininja,

    As we haven’t heard back from you regarding this issue, we’ll proceed to close this thread for now.

    If you still face this problem or need further assistance, please don’t hesitate to reopen the topic or reach out to us anytime. We’re always happy to help!

    Thank you for your valuable feedback and for helping improve HappyAddons.

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

The topic ‘Undefined variable $maxitems’ is closed to new replies.