You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#115927 JCE Core / Pro not working after J4 update

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by alchemy on Wednesday, 24 January 2024 08:20 GMT

alchemy
Hi,

We have updated a website from J3 to J4 and the JCE editor has stopped loading / working within SP Page Builder (ver 3.8.10). The site was using the JCE Core editor, but when we noticed that it was not working as expected, we purchased and installed the latest JCE Pro editor. Unfortunalety, JCE Pro is also not working (it does not appear) on SP Page Builder pages.

For ref:
- In the JCE profile 'All Components' has been selected
- The JCE Editor does appear to work ok on Joomla Articles (on both the Joomla tab and the SP Page Builder tab) - it just does not work on SP Page Builder pages. See pics attached.

We would be very grateful for some help!

Thanks

Attachments

Ryan
within SP Page Builder (ver 3.8.10).


The first thing you need to do is update SP Page Builder to version 5.2.5 - https://www.joomshaper.com/downloads/extension

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

alchemy
Hi Ryan,

The client doesn't want to update to SP Page Builder 5 as they don't like the new interface. 3.8.10 is still available to download - v4 has been removed, I'll revisit this with the client and see if we can update.

Thanks

Ryan
SP Page Builder 3.8.10 and JCE Pro 2.9.61 on Joomla 4.4.2 is working fine in my tests.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

alchemy
Yeah - we have it working on other sites with a similar setup. There is something wrong with this site, but we can't figure out what.

Ryan
Are there any javascript error messages in the browser console?

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

alchemy
This is what we see:

engine.js?efcb014a6f41a6d880968ea58653b58d:41 TypeError: Cannot read properties of null (reading 'getContent')
at t.value (engine.js?efcb014a6f41a6d880968ea58653b58d:71:267004)
at pn (engine.js?efcb014a6f41a6d880968ea58653b58d:41:33139)
at lr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:49459)
at Lu (engine.js?efcb014a6f41a6d880968ea58653b58d:49:27671)
at to (engine.js?efcb014a6f41a6d880968ea58653b58d:41:75548)
at Zr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:75473)
at Vr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:72394)
at engine.js?efcb014a6f41a6d880968ea58653b58d:41:29092
at t.unstable_runWithPriority (engine.js?efcb014a6f41a6d880968ea58653b58d:57:2518)
at Vt (engine.js?efcb014a6f41a6d880968ea58653b58d:41:28802)
yr @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
Dr.n.callback @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
sn @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
Sr @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
ao @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
t.unstable_runWithPriority @ engine.js?efcb014a6f41a6d880968ea58653b58d:57
Vt @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
oo @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
Vr @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
(anonymous) @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
t.unstable_runWithPriority @ engine.js?efcb014a6f41a6d880968ea58653b58d:57
Vt @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
Yt @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
Kt @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
v @ engine.js?efcb014a6f41a6d880968ea58653b58d:49
Te @ engine.js?efcb014a6f41a6d880968ea58653b58d:41
engine.js?efcb014a6f41a6d880968ea58653b58d:71 Uncaught TypeError: Cannot read properties of null (reading 'getContent')
at t.value (engine.js?efcb014a6f41a6d880968ea58653b58d:71:267004)
at pn (engine.js?efcb014a6f41a6d880968ea58653b58d:41:33139)
at lr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:49459)
at Lu (engine.js?efcb014a6f41a6d880968ea58653b58d:49:27671)
at to (engine.js?efcb014a6f41a6d880968ea58653b58d:41:75548)
at Zr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:75473)
at Vr (engine.js?efcb014a6f41a6d880968ea58653b58d:41:72394)
at engine.js?efcb014a6f41a6d880968ea58653b58d:41:29092
at t.unstable_runWithPriority (engine.js?efcb014a6f41a6d880968ea58653b58d:57:2518)
at Vt (engine.js?efcb014a6f41a6d880968ea58653b58d:41:28802)

Once we click for editor on backend.

TypeError: Cannot read properties of null (reading 'getContent')

alchemy
Would you like admin access to the site?

Ryan
[quotePost id="115934"]Would you like admin access to the site? [/quotePost]

Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

alchemy
Hi,

I sent admin details... I then I sent FTP access too.

Thanks for your help!

Ryan
I can't find any specific reason why you are getting this error, but I can see that there is a SP Page Builder javscript error before a Text Block is edited (regardless of the editor), which may have something to do with it.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

alchemy
Thanks for looking. I think we have actually solved the problem now. It appears that SP PageBuilder was trying to load both Tinymce and JCE on the same page. This was causing a conflict between the 2 versions of Tinymce (the core version and the one used by JCE). We have made a modification on the sp page builder helper file to fix this. I guess this may cause a problem later, but at least it's working now.

Thanks again for you help!