You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing a course and set None in the Certificate Template field on a course and hit save, and then reload, the edit course page it reverts to the old value when the site runs on PHP v.8
The system works when editing a course that doesn't have a template selected, then select one, hit save and reload.
In other words, the saving option doesn't work when removing an excisting a certificate template on a course and the site is on PHP v.8. Confirmed it works on PHP 7.4
PHP Warning: Attempt to read property “display_name” on bool in C:\Laragon\www\Webbkurshlr\wp-content\plugins\sensei-certificates\classes\class-woothemes-sensei-certificates.php on line 596
PHP Warning: Attempt to read property “user_login” on bool in C:\Laragon\www\Webbkurshlr\wp-content\plugins\sensei-certificates\classes\class-woothemes-sensei-certificates.php on line 596
Sensei LMS v. 4.13.0.1.13.0
WordPress v. 6.2
The text was updated successfully, but these errors were encountered:
donnapep
changed the title
Unable to save "None" option for Certificate Template on PHP v.8
Unable to save "None" option for Certificate Template on PHP 8
May 18, 2023
Originally reported in Automattic/sensei#6813.
When editing a course and set
None
in the Certificate Template field on a course and hit save, and then reload, the edit course page it reverts to the old value when the site runs on PHP v.8The system works when editing a course that doesn't have a template selected, then select one, hit save and reload.
In other words, the saving option doesn't work when removing an excisting a certificate template on a course and the site is on PHP v.8. Confirmed it works on PHP 7.4
The user reported this on the forum: https://wordpress.org/support/topic/set-none-on-certificate-template-on-course-doesnt-work-on-php-8/#post-16645080
They also share a screencast.
Noting the following errors reported too:
Sensei LMS v. 4.13.0.1.13.0
WordPress v. 6.2
The text was updated successfully, but these errors were encountered: