woocommerce / sensei-certificates

Hi, I'm the Certificates extension for Sensei.
GNU General Public License v2.0
34 stars 24 forks source link

Minimum Sensei version not up to date #321

Open yscik opened 2 years ago

yscik commented 2 years ago

Problem

https://github.com/woocommerce/sensei-certificates/blob/trunk/classes/class-woothemes-sensei-certificates.php#L1506

calls a Sensei function, \Sensei_Utils::get_current_course(); added in Sensei 4.6.0

MINIMUM_SENSEI_VERSION in the dependency checker is set to 1.11.0

This causes a fatal error on the site when the Sensei plugin is not up to date.

StefMattana commented 2 years ago

This has been reported via the Sensei forum here: https://wordpress.org/support/topic/critical-error-in-php-file-of-plug-in/

StefMattana commented 2 years ago

Also reported here: 5499956-zen

We have a follow-up ticket 5535864-zen where we run some tests to see if the fatal error resolves upon updating Sensei core ot the latest version.