• Resolved theotherai

    (@theotherai)


    Hi!
    I have a where my site breaks when I activate YASR. I’m running WordPress 6.1.1 and PHP 8.0.26, the debug log shows the following error:?https://pastebin.com/raw/Vc6UTba5

    I can only get the site working again by renaming the plugin folder of either YASR or Ultimate Member.

    Do you have any solution?

    Thanks in advance!

    Best

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor dudo

    (@dudo)

    Hello!
    Just to be sure: do you have this error if you try to enable YASR with “Ultimate Member” disabled?

    Thread Starter theotherai

    (@theotherai)

    Hi Dario,

    no, the error does not appear when Ultimate Member is disabled.

    Plugin Contributor dudo

    (@dudo)

    I’m trying to reproduce the issue with no luck, do you have multisite enabled?

    Thread Starter theotherai

    (@theotherai)

    No, it is not a multisite. The error has gotten worse since I installed a plugin named “Glossary by Codeat”. Since then I have to choose to activate either that plugin or your plugin.

    Before that, there was a fatal error upon activation but after refreshing the site, it worked.

    Would it help to get access to the website itself?

    Plugin Contributor dudo

    (@dudo)

    Please email me at support AT yetanotherstarsrating DOT com

    Thread Starter theotherai

    (@theotherai)

    Thanks for your help!
    I’ve just sent you the credentials

    Plugin Contributor dudo

    (@dudo)

    Due to WordPress forum rules I can’t accept your credential, but I can better assist you by email.

    Best,
    Dario

    • This reply was modified 2 years, 2 months ago by dudo.
    Plugin Contributor dudo

    (@dudo)

    I’ve been able to reprodue the issue.

    The error is in Ultimate Member Plugin, it is adding a filter to wp_get_attachment_url, and then uses current_user_can too soon.

    Here there is the fixed file with the code I’ve added, in line 62 you can find the call to the method yasr_fix.

    Share this file with plugin author, they have to fix this.

    Best,
    Dario

    Thread Starter theotherai

    (@theotherai)

    Perfect!!!
    That did the trick, thank you so much!

    I will let the guys from Ultimate Member know about this bug.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error upon plugin activation’ is closed to new replies.