dantheman1981
Forum Replies Created
-
Thanks Rocco!
This from the hosting provider (thought you may be interested incase someone else has the same issue):
In case you wanted to know the culprit:
$img->setAttribute( ‘src’, ‘data:’ . mime_content_type( $imgpath ) . ‘;base64,’ . $data );
The above code had to be removed from the plugin as the function was ‘Non-existent’ according to the above error. So removing it solved the issue.
Hi Rocco,
So with the help of my hosting provider we enabled multibyte string. There was some other issues but they were able to fix form me. They referred to this website – https://github.com/gocodebox/lifterlms/issues/1118
Thanks so much for your help.
Dan.
Hi Rocco,
Thanks. So I have run the debug logging. This is what is shown from the log. I have also included below the extended error I am now getting when clicking on the ‘download’ button.
From the log:
[23-Apr-2020 00:36:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php:228
Stack trace:
#0 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(188): LLMS_Certificates->modify_dom(‘<!DOCTYPE html>…’)
#1 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(105): LLMS_Certificates->get_export_html(‘2060’)
#2 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(161): LLMS_Certificates->generate_export(‘/home/d08hqumg/…’, ‘2060’)
#3 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/controllers/class.llms.controller.certificates.php(149): LLMS_Certificates->get_export(‘2060’)
#4 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/controllers/class.llms.controller.certificates.php(111): LLMS_Controller_Certificates->download(‘2060’)
#5 /home/d08hqumg/public_html/wp-includes/cla in /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php on line 228Error Message:
Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding() in /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php:228 Stack trace: #0 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(188): LLMS_Certificates->modify_dom(‘<!DOCTYPE html>…’) #1 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(105): LLMS_Certificates->get_export_html(‘2064’) #2 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php(161): LLMS_Certificates->generate_export(‘/home/d08hqumg/…’, ‘2064’) #3 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/controllers/class.llms.controller.certificates.php(149): LLMS_Certificates->get_export(‘2064’) #4 /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/controllers/class.llms.controller.certificates.php(111): LLMS_Controller_Certificates->download(‘2064’) #5 /home/d08hqumg/public_html/wp-includes/cla in /home/d08hqumg/public_html/wp-content/plugins/lifterlms/includes/class.llms.certificates.php on line 228
Hi Rocco,
Below is my LifterLMS System Report. Thanks for your help and look forward to your response.
WordPress ------------------------------------------- Home Url: https://---.com.au Site Url: https://---.com.au Login Url: https://---.com.au/wp-login.php Version: 5.4 Debug Mode: No Debug Log: No Debug Display: Yes Locale: en_US Multisite: No Page For Posts: Not Set Page On Front: Home (#12) [https://---.com.au/] Permalink Structure: /%postname%/ Show On Front: page Wp Cron: Yes Settings ------------------------------------------- Version: 3.37.18 Db Version: 3.37.18 Course Catalog: COURSE LIBRARY (#422) [https://---.com.au/course-library/] Membership Catalog: Membership Catalog (#359) [https://servoskills.com.au/memberships/] Student Dashboard: STUDENT DASHBOARD (#361) [https://---.com.au/student-dashboard/] Checkout Page: Purchase (#360) [https://---.com.au/purchase/] Course Catalog Per Page: 9 Course Catalog Sorting: menu_order,ASC Membership Catalog Per Page: 9 Membership Catalog Sorting: menu_order Site Membership: Not Set Courses Endpoint: my-courses Edit Endpoint: edit-account Lost Password Endpoint: lost-password Vouchers Endpoint: Autogenerate Username: yes Password Strength Meter: no Minimum Password Strength: strong Terms Required: no Terms Page: Not Set Checkout Names: required Checkout Address: hidden Checkout Phone: hidden Checkout Email Confirmation: yes Open Registration: yes Registration Names: required Registration Address: hidden Registration Phone: hidden Registration Voucher: required Registration Email Confirmation: yes Account Names: required Account Address: optional Account Phone: optional Account Email Confirmation: yes Confirmation Endpoint: confirm-payment Force Ssl Checkout: no Country: AU Currency: AUD Currency Position: left Thousand Separator: , Decimal Separator: . Decimals: 2 Trim Zero Decimals: no Recurring Payments: yes Email From Address: [email protected] Email From Name: --- Email Footer Text: Email Header Image: Cert Bg Width: 800 Cert Bg Height: 616 Cert Legacy Compat: no Gateways ------------------------------------------- Manual: Disabled Manual Logging: Manual Order: 1 Server ------------------------------------------- Mysql Version: 5.7.29 Php Curl: Yes Php Default Timezone: UTC Php Fsockopen: Yes Php Max Input Vars: 1000 Php Max Upload Size: 8 MB Php Memory Limit: 256M Php Post Max Size: 8M Php Soap: No Php Suhosin: No Php Time Limt: 30 Php Version: 7.2.27 Software: Apache Wp Memory Limit: 40M Browser ------------------------------------------- HTTP USER AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36 Theme ------------------------------------------- Name: Astra Version: 2.4.2 Themeuri: https://wpastra.com/ Authoruri: https://wpastra.com/about/ Template: Child Theme: No Llms Support: Yes Plugins ------------------------------------------- Astra Hooks: 1.0.2 Astra Pro: 2.4.0 Classic Editor: 1.5 Contact Form 7: 5.1.7 Elementor: 2.9.7 Elementor - Header, Footer & Blocks: 1.4.1 LifterLMS: 3.37.18 Really Simple SSL: 3.3.1 Starter Templates: 2.2.1 Ultimate Addons for Gutenberg: 1.14.8 Under Construction: 3.75 WPForms Lite: 1.5.9.5 Yoast SEO: 13.5 Integrations ------------------------------------------- BbPress: No BuddyPress: No Template Overrides -------------------------------------------- This reply was modified 6 years, 1 month ago by tobifjellner (Tor-Bjorn βTobiβ Fjellner). Reason: marked code as... code
Hi Natalie,
Thanks very much, all fixed π
Hi Thomas,
Wondering if you are seeing my messages?
Thanks,
Dan.
Hi Thomas,
Just following up on this, any suggestions?
Thanks,
Dan.
Hi Thomas,
Haven’t been able to get to the bottom of this yet.
I have checked the reporting section and the certificate is showing up there for the test user.
Below is what I have as custom CSS, do you think this should cause an issue?
/*
LifterLMS Custom CSS
*//* Meta Removal */
.llms-loop-item-footer, .llms-meta-info {
display: none
}/* Course Title Center */
.llms-loop-item-content .llms-loop-title {
font-size: 18px;
font-weight: 600;
margin-top: 20px;
text-align: center;
}/* Dashboard Colors */
.llms-loop-item-content {
background: #F9F9FB;
}.llms-loop-item-content:hover {
background: #F9F9FB;
}/* Dashboard Title Hide */
h3.llms-sd-section-title {
display:none;
}/* Sylabus Lesson Background color */
.single-lesson.ast-separate-container .llms-lesson-preview .llms-lesson-link, .single-course article .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link {
background-color: #F9F9FB!important;
}.single-lesson.ast-separate-container .llms-lesson-preview .llms-lesson-link:hover, .single-course article .llms-syllabus-wrapper .llms-lesson-preview .llms-lesson-link:hover {
background: #FFF!important;
}/* Clean Up Members Dashboard */
.llms-access-plan-featured, .llms-my-certificates, .llms-my-achievements {
display: none;
}Thanks for your help,
Dan.
Hi Natalie,
Below are the options I have selected. I can’t see how to send you a screen shot.
It should be triggering the course ‘Food Safety Training’.
Triggering Event
This engagement will be triggered when a student completes the selected action
–Student completes a courseSelect a Course
–Food Safety TrainingEngagement Type
Determines the type of engagement
–Award a certificateSelect an Engagement
–Armed Robbery Safety Training Completion CertificateEngagement Delay
Enter the number of days to wait before triggering this engagement. Enter 0 or leave blank to trigger immediately.
— Left this blankThanks for your help.
Dan.
Forum: Plugins
In reply to: [UpdraftPlus: WP Backup & Migration Plugin] Error connecting to DropboxHi Bryle,
Have deactivated the W3 Total Cache plugin and have done a backup which worked. Thanks!
Is there any way of still having W3 Total Cache plugin activated and backups working?
Thanks,
Dan.