Friendly message is not displayed anymore when activating WCPC + Sensei LMS #7472
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
[Pri] Low
Cosmetic issue, low impact, easy workaround
[Type] Bug
It seems to be a core issue, so I opened a ticket here where you can see more details, but I'm also opening this issue just to keep track of the problem, since it impacts Sensei.
Steps to Reproduce
What I Expected
To see a friendly error that both plugins shouldn't be activated at the same time. More details.
What Happened Instead
A simple fatal error without any explanation.
Alternative Solution
If we don't want to wait for a solution in the core, a simple alternative could be a message a little more aggressive with
wp_die
instead ofdie
. I say that it's a little more aggressive because it would display a message in the whole screen instead of a message in the top of the page.Another alternative that would demand a little more work but would have a better experience is the same way that we check compatibility issues on Sensei Pro.
PHP / WordPress / Sensei LMS version
PHP 8 / WordPress 6.4 / Sensei LMS 4.20.2
Browser / OS version
Chrome / Mac OSX
Context / Source
p1707237469398059-slack-C02P7FHLVR9
7615559-zd-a8c
The text was updated successfully, but these errors were encountered: