Tagdiv Composer causes Error in editor & warning on homepage

Posted in: Newspaper
Post count: 16

Hi there,

I just discovered this warning in frontend on my homepage:

Warning: Undefined array key “height” in /var/www/vhosts/mqhdcmzy.host246.checkdomain.de/schleswig-holstein.sh/wp-content/plugins/td-composer/includes/tdc_util.php on line 112

Warning: Undefined array key “width” in /var/www/vhosts/mqhdcmzy.host246.checkdomain.de/schleswig-holstein.sh/wp-content/plugins/td-composer/includes/tdc_util.php on line 113

(https://schleswig-holstein.sh)

Tagdiv composer also seems to cause an error in the EventOn event-post editor I am using. It worked with newspaper theme for years without any issues or conflicts so I have no idea what the problem might be. Do you?

Here´s the editor´s error message:

TypeError: el is not a function
at https://schleswig-holstein.sh/wp-content/plugins/td-composer/legacy/Newspaper/js/td_js_for_guten_blocks_editor.min.js?ver=969f3bb4333afe45565e713582b6de14:21:159
at ct (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:43430)
at Bt (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:50249)
at os (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:112112)
at Ur (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77643)
at Ir (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77571)
at Dr (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77434)
at Pr (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74429)
at https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
at unstable_runWithPriority (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)

Thanks in advance,
krimiwa

Post count: 27744

Hello Krimiwa,

Please let me know if you have set the image weight and height.
Also, what PHP version do you have? Did you use a plugin to optimize the css and js?

Thank you!

Post count: 16

Hi Anamaria,

where can I set image height and weight?
I have set “thumbs on Modules/Blocks” in Theme Panel –> Block settings. But that is not what you meant, right?

PHP Version 8.0

I am using WP-Optimize plugin for cache and js/css minification

Post count: 27744

Hi,

I mean, here, if you have set the width and height https://i.imgur.com/AJcmnoa.png

Thank you!

Post count: 16

Perfect, thank you!
That helped. The warning on front page disappeared.

Unfortunately I am still getting the error message in the editor. Do you have any idea what could cause it?

Thanks again

Post count: 27744

Hello,

I think this depends on the PHP version because I have 8.0.25, and this warning is not displayed for me.

Thank you!

Post count: 16

Hi,

the warning message disappeared after I set heigth and width, just as you showed me.

But there is still this error message when I try to use the eventOn event-post editor in backend. Tagdiv Newspapaper and EventOn worked fine for 2 years now, no conflicts, no errors. But since Monday I get this error.

Here´s the error message. Tagdiv composer is mentioned there but I can not make sense of it. Do you have an Idea?

I can send you login data.
Or should I create another topic for this issue?

TypeError: el is not a function
at https://schleswig-holstein.sh/wp-content/plugins/td-composer/legacy/Newspaper/js/td_js_for_guten_blocks_editor.min.js?ver=969f3bb4333afe45565e713582b6de14:21:159
at ct (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:43430)
at Bt (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:50249)
at os (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:112112)
at Ur (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77643)
at Ir (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77571)
at Dr (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:77434)
at Pr (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:74429)
at https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:9:30173
at unstable_runWithPriority (https://schleswig-holstein.sh/wp-includes/js/dist/vendor/react.min.js?ver=17.0.1:9:7431)

Thank you

  • This reply was modified 3 years by Krimiwa.
Post count: 27744

Hello,

Some bugs with the Event Calendar plugin are on our list for bugs.
Maybe in the next update will be fixed.

Thank you for your understanding!

Post count: 16

Hi,
the plugin I am using is not the Event Calendar. It is eventOn (https://www.myeventon.com/).

As I mentioned before, Newspaper and EventOn worked perfect together for two years now, no errors, no conflicts. But since this week I get this error.

I can not make sense of it, because it appears in the backend and I am wondering what Tagdiv Composer has to do with it.
I understand that your options are limited since it seems to be a third party conflict. But still, maybe you have a clue what causes it, or give me a hint what I could try and change. Or recommend somebody who could solve it.

Thanks again

Post count: 27744

Hello,

Maybe the plugin was updated, and some new options interfere with the theme.

Thank you!

Post count: 16

Hi,

in the meantime I shared the issue with the authors of the eventOn plugin.

This is what they said:

“I can replicate the issue as well. I am not a react expert, but it seems this el function is not loaded into the page. EventON does not use react at this moment. So i dont know how it can intefere wth react… ”

Could you please take another look at the error messages I shared earlier? Maybe it is connected to the bugs you are planning to fix with The Event Calendar.
I could also provide you with admin-access to the site if you need to take a closer look at the issue.

I am sorry to boher you again, but this error really obstructs our every day work here and we need a perspective…
Thanks for your understanding,
Kristof

Post count: 27744

Hello,

This message error has been added, but I don’t know when this error will be fixed.

Thank you!

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.