Unhandled Runtime Error TypeError - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Unhandled Runtime Error TypeError

TK

Torsten Kaletta

SP Page Builder 2 years ago

Hello, after updating the PB, the following problem occurs in the backend for some PB elements. Unhandled runtime error TypeError: Cannot set properties of undefined (setting 'external_plugins'). Please open the browser console for more information! I need a solution for this problem!

The console shows me this error: tinymce.min.js:1 Uncaught SyntaxError: Cannot use import statement outside a module vendors.min.js?07f551:2 TypeError: Cannot set properties of undefined (setting 'external_plugins') at Object.extend (tinymce.min.js?07f551:4:11547) at DO (tinymce.min.js?07f551:4:378195) at tinymce.min.js?07f551:4:398569 at new OT (tinymce.min.js?07f551:4:398589) at Object.execCommand (tinymce.min.js?07f551:4:423694) at bundle.min.js?07f551:2:545406 at tl (vendors.min.js?07f551:2:557669) at wu (vendors.min.js?07f551:2:577791) at vendors.min.js?07f551:2:576533 at bu (vendors.min.js?07f551:2:576598) ua @ vendors.min.js?07f551:2 /media/vendors/tinymce/tinymce.min.js.map:1 The resource could not be loaded: The server responded with the status 404 () /administrator/index...onent#/editor/109:2 Uncaught (in promise) SyntaxError: unexpected token '<', " <!doctype "... is not a valid JSON

All elements and joomla are actual. PHP is 8.2

best regards

Torte

0
8 Answers
TL
Thomas Lindenau
Accepted Answer
2 years ago #136278

I´ve got the same problem. Using "investa" Template on 5.0.0 and PHP 8.2

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #136591

Hello Thomas Lindenau

The Investa template is compatible with at most PHP 8.1 and Joomla 5. Please downgrade the PHP version. We will make it PHP 8.2 compatible very soon.

Best regards

1
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #136590

Hello Torsten Kaletta

Apology for the inconvenience. Please downgrade to PHP 8.0 and check the issue. We have not tested the template with PHP 8.2 yet. It will be made compatible very soon.

Best regards

0
TK
Torsten Kaletta
Accepted Answer
2 years ago #136738

Hello, I have downgraded the PHP version to 8.0. The page won't load with the message: "Your host must be using PHP version 8.1.0 or newer to run this version of Joomla! I have set PHP to 8.1. The page loads the pagebuilder in the frontend, but the editor windows are not visible or are not loaded. In the backend the pagebuilder can be loaded, but there are problems with some elements. The following message appears, Unhandled runtime error TypeError: Cannot set properties of undefined (setting 'external_plugins')

Please open the browser console for more information!

Call stack Extend object (4:11547)

DO (4:378195)

(4:398569)

new OT (4:398589)

Object.execCommand (4:423694)

(2:545406)

tl (2:557669)

wu (2:577791)

(2:576533)

0
TL
Thomas Lindenau
Accepted Answer
2 years ago #138420

Unfortunately, it still doesn't work. All pages that have been migrated to Joomla 5 must run on PHP 8.1. This is set. This template and others still bring the mentioned error message. I urgently need a fix or workaround. At the moment I cannot work with these pages.

0
TK
Torsten Kaletta
Accepted Answer
2 years ago #139140

Hello Thomas Lindenau,

How do you get into my chat?

best regards

Torte

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #139150

Torsten Kaletta,

You have to downgrade to PHP 8.0 and Joomla 4. You cannot use Joomla 5 as the template is not compatible yet. Also, Joomla 5 needs minimum PHP 8.1 to run.

0
TL
Thomas Lindenau
Accepted Answer
2 years ago #139617

Hello Torsten, this is a public chat and I found it on Google. Since I have the same problem, I just commented on it. Best regards Tom

0