Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Compatible Plugins › Learndash › LearnDash Content Cloner (WisdmLabs) error message
- This topic has 1 reply, 2 voices, and was last updated 3 years, 6 months ago by
Themosaurusrex.
-
AuthorPosts
-
christinar13Participant@christinar13
- 1 Topics
- 1 Posts
Hey Gwangi team, Hoping you may have come across this one before…
We are encountering an issue with the LearnDash Content Cloner from WisDmLabs, seemingly clashing with the Theme.
I clone a programme and it spits out an error code on the top of the cloned content. This happens when viewing draft content in preview and when content is published – which of course means we can’t publish.
– can you shed light on the issue?
– how can we resolve this?Please see screen shot attached
Paste of error code:
Warning: array_keys() expects parameter 1 to be array, null given in /home/customer/www/members.weare3sixty.org/public_html/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-course-steps.php on line 1568
Warning: array_merge(): Expected parameter 2 to be an array, null given in /home/customer/www/members.weare3sixty.org/public_html/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-course-steps.php on line 1568
Warning: Invalid argument supplied for foreach() in /home/customer/www/members.weare3sixty.org/public_html/wp-content/plugins/sfwd-lms/includes/classes/class-ldlms-model-course-steps.php on line 1585
Hope you can help!
August 4, 2021 at 13:49 #34051@themosaurusrex- 0 Topics
- 2048 Posts
Hi christinar13,
Sorry about the late reply, we’re experiencing a much larger number of requests than usual so our wait times are longer than expected.
These are PHP warnings, not errors. Unlike errors, warnings won’t break your website. They’re just messages aimed at developers to improve their code. 🙂
To hide this message, I suggest that you activate error logging on your website. Please keep WP_DEBUG to true and just paste the following code lines in your wp-config.php file, just before the line that says ‘That’s all, stop editing! Happy blogging.’:
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
More on this in the following topic: Debugging in WordPress
You will still be able to consult the warnings and errors triggered by your website but these won’t appear on your pages anymore.
Regards,
August 6, 2021 at 15:48 #34107 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘LearnDash Content Cloner (WisdmLabs) error message’ is closed to new replies.