Quiz not working
-
Hi, I’ve created quizzes on my course but all of my quiz pages are not showing quiz questions, either to me or to my users. before I ran a debug, the page was showing as blank with only the title. I’ve followed the steps to enrol in the course however even enrolled users are having this problem. The quiz questions were created as normal through course builder. Why might this be happening? I have updated to the latest version and searched for solutions here but have had no luck.
This is what I got after enabling debug:
Fatal error: Uncaught Error: Call to a member function get_total_attempts_by_user() on null in D:\website\learning.comm100.com\wp-content\themes\livechat100\lifterlms\quiz\start-button.php:18 Stack trace: #0 D:\website\learning.comm100.com\wp-content\plugins\lifterlms\includes\functions\llms.functions.template.php(84): include() #1 D:\website\learning.comm100.com\wp-content\plugins\lifterlms\includes\functions\llms.functions.templates.quizzes.php(190): llms_get_template(‘quiz/start-butt…’) #2 D:\website\learning.comm100.com\wp-includes\class-wp-hook.php(286): lifterlms_template_start_button(”) #3 D:\website\learning.comm100.com\wp-includes\class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 D:\website\learning.comm100.com\wp-includes\plugin.php(453): WP_Hook->do_action(Array) #5 D:\website\learning.comm100.com\wp-content\plugins\lifterlms\templates\content-single-quiz-after.php(9): do_action(‘lifterlms_singl…’) #6 D:\website\learning.comm100.com\wp-includes\template.php(690): require(‘D:\\website\\lear…’ in D:\website\learning.comm100.com\wp-content\themes\livechat100\lifterlms\quiz\start-button.php on line 18
Here is my status report:
‘WordPress
——————————————-Home Url: https://learning.comm100.com
Site Url: https://learning.comm100.com
Version: 4.9.8
Debug Mode: No
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: My Courses (#7)
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Show On Front: page
Wp Cron: YesSettings
——————————————-Version: 3.22.1
Db Version: 3.22.1
Course Catalog: Course Catalog (#4)
Course Catalog Per Page: 9
Course Catalog Sorting: menu_order,ASC
Membership Catalog: Membership Catalog (#5)
Membership Catalog Per Page: -1
Membership Catalog Sorting: menu_order,ASC
Site Membership: Not Set
Student Dashboard: My Courses (#7)
Courses Endpoint: my-courses
Edit Endpoint: edit-account
Lost Password Endpoint: lost-password
Vouchers Endpoint: redeem-voucher
Autogenerate Username: yes
Password Strength Meter: no
Minimum Password Strength: strong
Terms Required: no
Terms Page: Not Set
Checkout Names: required
Checkout Address: required
Checkout Phone: optional
Checkout Email Confirmation: yes
Open Registration: no
Registration Names: required
Registration Address: optional
Registration Phone: hidden
Registration Voucher: optional
Registration Email Confirmation: no
Account Names: required
Account Address: required
Account Phone: optional
Account Email Confirmation: yes
Checkout Page: Purchase (#6)
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: US
Currency: USD
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: [email protected]
Email From Name: Comm100 Learning
Email Footer Text: Comm100, 273 – 1027 Davie Street, Vancouver, British Columbia, V6E 4L2, Canada
Email Header Image:
Cert Bg Width: 800
Cert Bg Height: 616
Cert Legacy Compat: noGateways
——————————————-Manual: Disabled
Manual Logging:
Manual Order: 1Server
——————————————-Mysql Version: 5.6.10
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 1000
Php Max Upload Size: 128 MB
Php Memory Limit: 256M
Php Post Max Size: 256M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 300
Php Version: 7.0.15
Software: Microsoft-IIS/7.0
Wp Memory Limit: 40MBrowser
——————————————-HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Theme
——————————————-Name:
Version:
Themeuri:
Authoruri:
Template:
Child Theme: No
Llms Support: NoPlugins
——————————————-LifterLMS: 3.22.1
WPS Hide Login: 1.4.3Integrations
——————————————-BbPress: No
BuddyPress: NoTemplate Overrides
——————————————-content-certificate.php (ver: 3.18.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: )
loop.php (ver: 3.14.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.0.0)
single-certificate.php (ver: ): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: )
product/pricing-table.php (ver: 3.11.1): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.4.5)
quiz/start-button.php (ver: 3.16.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.0.0)Wordpress
——————————————-Home Url: https://learning.comm100.com
Site Url: https://learning.comm100.com
Version: 4.9.8
Debug Mode: No
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: My Courses (#7)
Permalink Structure: /%year%/%monthnum%/%day%/%postname%/
Show On Front: page
Wp Cron: YesSettings
——————————————-Version: 3.22.1
Db Version: 3.22.1
Course Catalog: Course Catalog (#4)
Course Catalog Per Page: 9
Course Catalog Sorting: menu_order,ASC
Membership Catalog: Membership Catalog (#5)
Membership Catalog Per Page: -1
Membership Catalog Sorting: menu_order,ASC
Site Membership: Not Set
Student Dashboard: My Courses (#7)
Courses Endpoint: my-courses
Edit Endpoint: edit-account
Lost Password Endpoint: lost-password
Vouchers Endpoint: redeem-voucher
Autogenerate Username: yes
Password Strength Meter: no
Minimum Password Strength: strong
Terms Required: no
Terms Page: Not Set
Checkout Names: required
Checkout Address: required
Checkout Phone: optional
Checkout Email Confirmation: yes
Open Registration: no
Registration Names: required
Registration Address: optional
Registration Phone: hidden
Registration Voucher: optional
Registration Email Confirmation: no
Account Names: required
Account Address: required
Account Phone: optional
Account Email Confirmation: yes
Checkout Page: Purchase (#6)
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: US
Currency: USD
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: [email protected]
Email From Name: Comm100 Learning
Email Footer Text: Comm100, 273 – 1027 Davie Street, Vancouver, British Columbia, V6E 4L2, Canada
Email Header Image:
Cert Bg Width: 800
Cert Bg Height: 616
Cert Legacy Compat: noGateways
——————————————-Manual: Disabled
Manual Logging:
Manual Order: 1Server
——————————————-Mysql Version: 5.6.10
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 1000
Php Max Upload Size: 128 MB
Php Memory Limit: 256M
Php Post Max Size: 256M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 300
Php Version: 7.0.15
Software: Microsoft-IIS/7.0
Wp Memory Limit: 40MBrowser
——————————————-HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
Theme
——————————————-Name:
Version:
Themeuri:
Authoruri:
Template:
Child Theme: No
Llms Support: NoPlugins
——————————————-LifterLMS: 3.22.1
WPS Hide Login: 1.4.3Integrations
——————————————-BbPress: No
BuddyPress: NoTemplate Overrides
——————————————-content-certificate.php (ver: 3.18.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: )
loop.php (ver: 3.14.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.0.0)
single-certificate.php (ver: ): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: )
product/pricing-table.php (ver: 3.11.1): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.4.5)
quiz/start-button.php (ver: 3.16.0): D:\website\learning.comm100.com/wp-content/themes/livechat100/lifterlms/ (ver: 3.0.0)’- This topic was modified 7 years, 10 months ago by .
- This topic was modified 7 years, 10 months ago by .
- This topic was modified 7 years, 10 months ago by .
The page I need help with: [log in to see the link]
The topic ‘Quiz not working’ is closed to new replies.