dudaster / ele-custom-skin

Create a skin for Elementor Pro Post and Post Archive widgets using Elementor templates
GNU General Public License v3.0
59 stars 10 forks source link

*Urgent - Critical Error, Website Breaks/Elementor Unusable once Activated #519

Open johndejaciv opened 3 years ago

johndejaciv commented 3 years ago

Hello,

I'm having an issue on the following site when Ele custom skin regular and pro are activated, the following fatal error is thrown. Both plugins are updated to version 3.1, and Elementor is also already at its latest version. Please advise as this is a fix we need taken care of ASAP for many clients sites,

Thanks-

https://limitlesspts.wm-dev.co/

Recoverable fatal error: Object of class WP_Error could not be converted to string in /mnt/home2/limitlesspts/public_html/wp-includes/kses.php on line 1644

dudaster commented 3 years ago

Does this happen with any loop template or just by enabling the plugin? It could be something on the templates that triggers this.

johndejaciv commented 3 years ago

Hello,

This happens when simply enabling the plugin. Is there a conflict with the latest version of elementor?

Please let me know how I can fix it- thanks

dudaster commented 3 years ago

Can you create a staging website so I can take a look?

johndejaciv commented 3 years ago

Please let me know what I need to do to fix this. I'm in the middle of a critical development project and this is causing delays.

Thanks-

johndejaciv commented 3 years ago

@dudaster , any update here? Thanks

beesolution commented 3 years ago

same problem here.

johndejaciv commented 3 years ago

@dudaster please advise as this is a critical issue for my team and I- thanks.

dudaster commented 3 years ago

Are you guys using Post info Widget?

johndejaciv commented 3 years ago

@dudaster no we aren't

johndejaciv commented 3 years ago

@dudaster please advise as this issue is now over a week old, pushing my development timeline into further delays. I've had other developers try working on this to no avail. I can't tell if this is a unique issue to my setup or if others may be experiencing the same thing. Either way, any help from you is much appreciated in sorting this out- thanks.

dudaster commented 3 years ago

Can you please export the loop template and post it here?

johndejaciv commented 3 years ago

@dudaster It happens will all loop templates. As soon as the "custom" option is selected, it breaks the site. You should be able to see that in the staging site i sent. elementor-171-2021-06-30.json.zip

dudaster commented 3 years ago

The issue is from Elementor Pro and is from the Dynamic Value Terms. You can reproduce it in single template also without ECS enabled.

I've deleted Heading widget wich contained that dynamic value and it works.

dudaster commented 3 years ago

I think I found the issue. Make sure you have the taxonomy you selected in the Dynamic Value Settings.

johndejaciv commented 3 years ago

@dudaster thanks for the help, not sure I am completely following though, can you elaborate more on where exactly I needto adjust that,, and how to preveent thiis in the future?

dudaster commented 3 years ago

In the Loop Template you have a Heading Widget that shows some terms of a taxonomy. Make sure that you select a taxonomy in the setup of the dynamic value and if it is selected make sure you it exists.

Ex: Categories, Tags these are taxonomies. And each taxonomy contains terms: cat1, cat2, etc

johndejaciv commented 3 years ago

@dudaster so you're saying that because these terms were selected but empty, that's why it broke things?

johndejaciv commented 3 years ago

@dudaster I'm not even able to edit the "featured story" loop template above to even check that without getting the fatal error. Are you able to access my site and send some screenshots explaining that? Thank you

dudaster commented 3 years ago

I cannot connect with the credentials you sent me. Please send them again trough the chat on dudaster.com

johndejaciv commented 3 years ago

@dudaster I just sent you new login creds as you requested above on your website chat- thanks let me know once you have an update

dudaster commented 3 years ago

How to solve the issue:

  1. go to plugin editor
  2. edit elementor plugin
  3. go to /wp-content/plugins/elementor/core/dynamic-tags/tag.php:35
  4. comment line 35
  5. go to the affected template (in our case a loop template)
  6. go to the widget that has a taxonomy as a dynamic value
  7. choose a taxonomy
  8. save the template
  9. go again to the plugin editor and uncomment the line 35
johndejaciv commented 3 years ago

Thanks again for the help. I'm working on this and will follow up if anything further is needed.