doesnot work after update
-
Updated the plugin to the latest version 2.0.9. After update, there is always a window – ‘Content Control has been updated and needs to run some database upgrades.’ After clicking the upgrade now button in the window, it opens the content control setting window. However the window is blank, seems like doesn’t work properly. Could you help have a look please. Many thanks.
-
@junxiu6 – If the page there is entirely blank, it likely means there is a JavaScript error on the page, can you try the steps here: https://docs.wppopupmaker.com/article/373-checking-javascript-errors
That said if you had global restrictions before, they should still be active, even before the upgrades process, we wanted to ensure that was the case.
Let us know.
here is the error message. @danieliser thanks
Uncaught TypeError: (0 , r.createRoot) is not a function at Module.ln (settings-page.js?ver=001232e0a4bf3ee0a06c:38:8668) at HTMLDocument. (options-general.php?page=content-control-settings:150:60) at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038) at t (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340) ln @ settings-page.js?ver=001232e0a4bf3ee0a06c:38 (anonymous) @ options-general.php?page=content-control-settings:150 e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 setTimeout S.readyException @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 (anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 setTimeout (anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 setTimeout (anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 ready @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2 $ @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
@junxiu6 – Hmm, that shouldn’t be possible, but I’m happy to try and help.
From the message it seems WP scripts are not loading specific wp files that we depend on, but if they weren’t available WP usually would prevent our code from loading as well. Clearly ours is there, so WP thinks the others are too.
What version of WP do you use?
Can you install the Health Check & Troubleshoot plugin, then use the Troubleshooting mode on just our plugin to see if the issue goes away? If so activate the other plugins one at a time until it comes back so we can find which one is conflicting.
I use WP 6.1.1. Health Check & Troubleshoot plugin is installed, but the issue doesn’t go away. I also tried to delete the plugin and install again – same issue.
Uncaught TypeError: (0 , r.createRoot) is not a function
at Module.ln (settings-page.js?ver=001232e0a4bf3ee0a06c:38:8668)
at HTMLDocument. (options-general.php?page=content-control-settings:150:60)
at e (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30038)
at t (load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2:30340)
ln @ settings-page.js?ver=001232e0a4bf3ee0a06c:38
(anonymous) @ options-general.php?page=content-control-settings:150
e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
setTimeout (async)
S.readyException @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
(anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
e @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
t @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
setTimeout (async)
(anonymous) @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fire @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
c @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
fireWith @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
ready @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
$ @ load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.1.1:2
options-general.php:187GET https://2.gravatar.com/avatar/8b2a99aba33ac165ba83489387928ebc?s=26&d=mm&r=g net::ERR_CONNECTION_TIMED_OUT
@junxiu6 – do you use browser extensions of some kind that may be blocking things from loading? Just to be sure, you can try in a private browser session (usually they are without extensions).
Also with the health check plug-in active you CAN activate troubleshooting mode. Activating the plugin itself won’t do anything helpful.
with it active go to the Plugins page and next to Content Control you will see Troubleshoot.
Click that and see if the issue is still occurring. If so then you can activate other reenable other plugins a few at a time and retest. When you see it break again one of the last plugins you enabled will be the one we need to investigate.
@danieliser I used a private session, activated trouble shooting mode and the issue still occurs. I also enabled other plugins one at a time and the issue still occurs. (The issue is that after clicking the upgrade now button in the window, it opens the content control setting window however the window is blank.)
Would it be possible for you to have a test — upgrade the plugin to the latest version from previous version and see if you can use the same issue.
-
This reply was modified 1 year, 5 months ago by
junxiu6.
I rolled back to v1.1.10 (by using WP rollback). Now it works and the issue doesn’t happen anymore.
Just for info if others have the same issue.
@junxiu6 We have a tool that lets us test various states and transitions for the upgrade process. Built it to try and not have any of these issues.
But I have tried both with the tool and manually and cannot replicate that specific issue.
Would it be possible to get access to the site or a staging site to see the issue and troubleshoot?
That said, are you also saying downgrading, then upgrading worked fine after?
@junxiu6 – Can you confirm your using WP 6.1.x or lower? IE Your not on WP 6.2+
I just did some digging and tested on WP 6.1.13 and worked out 2 bugs, can both confirm your findings and that it is fixed in v2.0.10.
Please update and confirm you don’t see any further issues.
If not please take a moment to?rate & review?the plugin and or support to spread the word.
@danieliser I’m using WP 6.1.1. That’s great you fixed the issue in v2.0.10. will have a try when this version is released. Thanks.
I seem to be encountering the same issue! I’ve attached an image ( https://ibb.co/Y73skmG ). I’m using WordPress 6.4.3 and I updated Content Control to version 2.1.0. There was a notification to update the database, but when I clicked, it took me to the plugin settings, and nothing else appeared. I deactivated ALL plugins, leaving only Content Control active. I tested it in an anonymous window without addons/blockers, inspected the code, and indeed, the necessary .js files don’t seem to be loading correctly, I believe.
@therus – Just a quick though as you didn’t mention it specifically.
When you tested, did you try a different theme by chance? Often theme issues are overlooked when “deactivating all plugins”.
That said I highly suggest you install the Health Check & Troubleshooting plugin, then use the “Troubleshooting” mode via the Plugins page on our plugin.
This will safely and temporarily deactivate all other plugins & enable a default theme (you must have 2023 or other WP default theme installed too).
This way none of your other visitors/users will be affected while you test.Also i have patched (not released) an issue that was causing the upgrade notice to be shown with no upgrades to process, but that doesn’t look like the issue here as your not even getting the page to load with those JS issues.
-
This reply was modified 1 year, 5 months ago by
- The topic ‘doesnot work after update’ is closed to new replies.