• Resolved SLD

    (@sld)


    When I activate the UnCanny Owl plugin for LearnDash, when I go to the Add Ons page in the WP admin, the third-party add-ons are unavailable, and I get a fatal error message on that page.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi @sld , sorry to hear about the issue.

    I wonder if you could confirm exactly the page you mean. Is this under LearnDash > Add-ons? Toolkit > LearnDash Plugins? The WordPress Plugins page? A screenshot might help to know where you’re clicking.

    It would also help immensely if you could check the error log for your site (your host can help if you’re not sure where to find it) and send us the details of the error.

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Maybe you could also confirm your WordPress version, PHP version, LearnDash version and Toolkit version.

    Hello, i face the same problem when i activate

    Uncanny Toolkit for LearnDash and try to access addons i get this error

    https://***/wp-admin/admin.php?page=learndash_lms_addons&tab=third-party

    Error thrown

    Cannot use object of type stdClass as array

    when i de activate it every things work without any errors

    WordPress version 6.1.1

    Uncanny Toolkit for LearnDash Version 3.6.4.2

    LearnDash Version 4.5.0.2  (but the error from version 4.3.1)

    Tested on PHP 7.4 , 8 , 8.1 with the same error

    • This reply was modified 1 year, 9 months ago by ateya3d.
    Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi @ateya3d , thanks, that’s really helpful!

    That’s odd though, the current version of LearnDash goes to /wp-admin/admin.php?page=learndash-hub for add-ons and then links to a repo listing for the third party page.

    I wonder if you’re using the old LearnDash Hub plugin? Or could your old LearDash files be cached?Maybe you could know what other LearnDash plugins you’re using and their versions, because this doesn’t seem like LearnDash and Toolkit directly.

    If you have a Staging environment, maybe you could try with only LearnDash 4.5.0.2 and Uncanny Toolkit 3.6.4.2 active to see if it still happens?

    all plugins updated , I’m not using any outdated plugins and not using old LearnDash Hub plugin

    ever things work fine except when we activate Uncanny Toolkit 3.6.4.2 get this error

    Thread Starter SLD

    (@sld)

    Here is a link to the error message:

    https://recoveryu.org/files/UnCanny_Error.jpg

    The menu path in WP is:
    LearnDash — Add-ons –Third Party
    This is a brand-new install.
    Plugins: Classic Editor, LearnDash, SeedProd Pro

    WP Current version: 6.1.1
    LearnDash version: 4.5.0.2: January 28, 2023 1:16 pm
    Theme Divi version 4.19.5
    PHP version: 7.4.33

    Thank you, Sherri

    Thread Starter SLD

    (@sld)

    and Uncanny Toolkit Version 3.6.4.2

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Okay, we were able to trace what happened and fix it! The outcome surprised us, because this is not related to the LearnDash update nor the recent Toolkit update, it is actually a much older issue that had simply gone unreported.

    Basically LearnDash loads their plugin list page there a bit differently than we expect (via plugin_api()) and the Toolkit doesn’t handle it properly.

    We have made an updated copy of the Toolkit available at https://we.tl/t-3q9WIEocjD with the fix. Once you have confirmed this is working as expected for you, we’ll get a public release out (in the next few days either way).

    @uncannyowl
    the latest replay for me or for us ?

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Both of you, since the error seems the same. Let us know if it fixes things.

    @uncannyowl thanks for your care

    i have update the Toolkit in my development staging website and working now without any problem

    i will double check again and if i notice any error or problem i will send to you

    Many thanks

    Plugin Author Uncanny Owl

    (@uncannyowl)

    Fantastic @ateya3d , thanks for checking quickly and following up!

    I’ll tentatively mark this as resolved and we’ll include it in the update.

    Thread Starter SLD

    (@sld)

    Hey,

    I just installed the fix and it is working.
    The “LearnDash –> Addons” path displays a list with small icons, rather than cards.

    When I click on Third Party, it opens a new WP Admin window plugins search page showing learndash search results. So now I have two WP admin windows open (may be confusing for newbies).

    Thank you!
    Sherri

    • This reply was modified 1 year, 9 months ago by SLD.
    • This reply was modified 1 year, 9 months ago by SLD.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘LearnDash Add On error for third party Add Ons’ is closed to new replies.