Error interacting with Curriculum
-
Cannot add or edit curriculum sections/components.
Whenever I click into the Curriculum box, after some delay, I get the following error:
Something went wrong! Please reload to continue editing curriculum.
This happens with new courses and the sample course.
Screenshot:
-
Hi balebond,
Seems there is a JS conflict in your system. Please follow this guide https://codex.ww.wp.xz.cn/Using_Your_Browser_to_Diagnose_JavaScript_Errors
Then let me know the result so I can find the best solution for you.
-
This reply was modified 8 years ago by
Ken Nguyen.
Hi,
So SCRIPT_DEBUG didn’t fix this issue.
Here is output of console for chrome. FF had similar errors:
jquery-migrate.js:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
vue.js:7843 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
vue.js:7853 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
jquery-migrate.js:45 JQMIGRATE: jQuery.fn.size() is deprecated; use the .length property
migrateWarn @ jquery-migrate.js:45
jquery-migrate.js:47 console.trace
migrateWarn @ jquery-migrate.js:47
jquery-migrate.js:45 JQMIGRATE: jQuery.fn.toggle(handler, handler…) is deprecated
migrateWarn @ jquery-migrate.js:45
jquery-migrate.js:47 console.trace
migrateWarn @ jquery-migrate.js:47
yacht.jpg:1 Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
jquery-migrate.js:45 JQMIGRATE: jQuery.parseJSON requires a valid JSON string
migrateWarn @ jquery-migrate.js:45
jquery-migrate.js:47 console.trace
migrateWarn @ jquery-migrate.js:47
vue-resource.1.3.4.js:295 TypeError: Cannot read property ‘success’ of null
at course-editor.js:842
at vue-resource.1.3.4.js:1169
error @ vue-resource.1.3.4.js:295
course-editor.js:842 Uncaught (in promise) TypeError: Cannot read property ‘success’ of null
at course-editor.js:842
at vue-resource.1.3.4.js:1169
vue-resource.1.3.4.js:295 TypeError: Cannot read property ‘success’ of null
at course-editor.js:842
at vue-resource.1.3.4.js:1169
error @ vue-resource.1.3.4.js:295
vue-resource.1.3.4.js?ver=1.3.4:295 TypeError: Cannot read property ‘success’ of null
at course-editor.js?ver=3.0.9:842
at vue-resource.1.3.4.js?ver=1.3.4:1169
error @ vue-resource.1.3.4.js?ver=1.3.4:295
(anonymous) @ vue-resource.1.3.4.js?ver=1.3.4:1409
Promise.then (async)
p.then @ vue-resource.1.3.4.js?ver=1.3.4:241
Http @ vue-resource.1.3.4.js?ver=1.3.4:1402
Http.(anonymous function) @ vue-resource.1.3.4.js?ver=1.3.4:1441
Vue.http.LPRequest @ course-editor.js?ver=3.0.9:817
heartbeat @ course-editor.js?ver=3.0.9:740
wrappedActionHandler @ vuex.2.3.1.js?ver=2.3.1:604
dispatch @ vuex.2.3.1.js?ver=2.3.1:347
boundDispatch @ vuex.2.3.1.js?ver=2.3.1:272
(anonymous) @ VM2817 post.php:1818Hi balebond,
The debug will show us some info about the conflict, not to fix it.
Please help me check those things:
1. Make sure you update WordPress to v4.9.6 and LearnPress to v.3.0.9 (newest versions).
2. Then load the course editor again.
3. If you still see the issue, some other plugin on your site must have a conflict with LearnPress. Please temporary disable one by one to find out exactly which one.
Let me know.
Hi Ken,
Thanks for your help. Well, I made sure I’m on the latest versions of WP and LearnPress. I disabled every plugin on the site and changed the theme to 2017. I also put our cloudflare in dev mode and tried http and https. Still run into the error.
Any other ideas?
This is what the console shows in red:
TypeError: Cannot read property ‘success’ of null
at course-editor.js:842
at vue-resource.1.3.4.js:1169
error @ vue-resource.1.3.4.js:295
vue-resource.1.3.4.js?ver=1.3.4:295 TypeError: Cannot read property ‘success’ of null
at course-editor.js?ver=3.0.9:842
at vue-resource.1.3.4.js?ver=1.3.4:1169Hi balebond,
In this case, I have to check your site more carefully.
Can you send a request to [email protected] with subject “balebond – LearnPress support”?
I have the same problem.
I tested the script on IE11. Now I tried with Chrome. On Chrome the script ist working!
-
This reply was modified 8 years ago by
The topic ‘Error interacting with Curriculum’ is closed to new replies.