artfish1
Forum Replies Created
-
Perhaps someone will need information on how I solved the problem with the theme, since this theme was made by me.
Firstly, I removed the jQuery connection from the functions.php file, since WordPress itself connects it.
Secondly, in all my js files, I wrapped the code in a function like this:
jQuery (function ($) {
// Your code here
});@htmgarcia Yes, it looks like you were right. I tried to install theme “Twenty twenty one” and your plugin works fine there. It means it’s all about my current theme, the problem of which is displayed on the plugin. Thanks for the support. The question is closed.
@htmgarcia These tabs work fine thanks to a dedicated plugin: jQuery Migrate Helper (https://ww.wp.xz.cn/plugins/enable-jquery-migrate-helper/). As written in the description, this is a temporary solution. And the permanent solution should be yours, as the authors of the PublishPress Blocks plugin, to update it to remove the dependency on jquery-migrate. I’ll disable this temporary plugin (jQuery Migrate Helper) for the rest of tomorrow so you can see the problem in action at the same link (http://butafor.info/blog/portfolio/discotheque-pulse/).
With the update to WordPress 5.5, a migration tool known as jquery-migrate was no longer enabled by default. This may lead to lacking functionality or unexpected behavior in some themes or plugins that run older code.
This plugin serves as a temporary solution, enabling the migration script for your site to give your plugin and theme authors some more time to update, and test, their code.
We ask the authors of the Gutenberg Blocks plugin – PublishPress Blocks to fix the migration issue as soon as possible. Thanks.
Yes, I see these errors. But are they related to the plugin? And if so, how can I solve them?
The problem only arises in the Front. Everything works fine in the admin area.
Link: http://butafor.info/blog/portfolio/exposition-de-peintures-2020/
What errors do you see?