-
AuthorPosts
-
February 14, 2022 at 5:06 pm #1340541
I have seen this in other posts. But despite deleting the plugin called “enhanced-text-widget” I still get the error message whenever I try to edit text.
I have tried deleting the transients but no use. Logging in with FTP I thought the app might still be there but can’t see it.
I have given you the login details if you need to have a look.
Thanks
February 15, 2022 at 6:06 am #1340638Hey ColinWalton,
Thanks for the login details. I checked the page in question, but I can’t see the error on my end. Does it help if you check in a different browser?
Best regards,
RikardFebruary 15, 2022 at 11:24 am #1340673Hiya,
Just tried using Chrome (on my Mac) and after editing the text and saving the page I get the same error appearing.I don’t think you will see anything unless you edit the text and save it. Perhaps add a space at the end etc.
I have cleared the cache on both browsers.
I have uploaded screenshots for you.
February 16, 2022 at 6:04 am #1340834Hi,
Thank you for the update.
The issue occurs because of the form and the script tags in the page. Unfortunately, you cannot directly add form elements and script tags in the builder because the container that holds the actual elements or shortcodes is also a textarea element and adding another form field inside a textarea is not allowed. You have to create a custom shortcode for the form element and use that shortcode instead of embedding the html directly in the builder.
// https://codex.wordpress.org/Shortcode_API#The_Shortcode_API
Best regards,
IsmaelFebruary 16, 2022 at 11:31 am #1340894Hi Ismael,
Thanks for getting in touch.
The shortcodes are part of WooCommerce. Before I tried using that wretched plugin the odd error message never appeared.
Writing my own shortcodes looks pretty complicated. Perhaps not helped by WordPress’s incomplete instructions, where does the PHP code go etc??Thanks for your help!
February 17, 2022 at 4:31 am #1341028Hi Colin,
The custom shortcode can go to an external file or directly in the functions.php file, preferably in the child theme directory. If you are not comfortable with the first option, try to use a plugin instead. The following extension allows you to create custom shortcodes for HTML, Javascript and other snippets.
// https://wordpress.org/plugins/shortcoder/
Thank you for your patience.
Best regards,
IsmaelFebruary 17, 2022 at 11:01 am #1341087Great thanks for your help!
February 18, 2022 at 5:54 am #1341272 -
AuthorPosts
- The topic ‘Can't get rid of alert saying "Failed to initialize plugin: avia_builder_button"’ is closed to new replies.