sensei icon indicating copy to clipboard operation
sensei copied to clipboard

Friendly message is not displayed anymore when activating WCPC + Sensei LMS

Open renatho opened this issue 1 year ago • 1 comments

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

  1. Install and activate WooCommerce and WCPC.
  2. Install and activate Sensei LMS.

What I Expected

To see a friendly error that both plugins shouldn't be activated at the same time. More details.

Screenshot 2024-02-06 at 18 23 21

What Happened Instead

A simple fatal error without any explanation.

Screenshot 2024-02-06 at 18 23 27

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 of die. 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

renatho avatar Feb 06 '24 21:02 renatho

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 7615559-zen

github-actions[bot] avatar Feb 06 '24 21:02 github-actions[bot]