WordPress 6.2.2
Advanced Sidebar Menu 9.0.9
Advanced Sidebar Menu Pro 9.1.6
We are getting an error when trying to add any of the Advanced Sidebar Menu widgets to our wordpress instance. The error is “Error loading block: Invalid parameter(s): attributes”.
Hi Omar,
Can you please provide any information you see in the browser console when the error is shown?
Otherwise, if you would like to provide a temporary WordPress administrator account via the private information, I can login and take a look at what is happening.
Sent a user login.
Hi Omar,
I tracked the error down to an issue with Jetpack’s “Enable widget visibility controls to display widgets only on particular posts or pages” option. With this option enabled, the widget is unable to render because the attributes are being changed by Jetpack.
For reference, this is the issue being returned from the REST request.
I’m working on a solution. In the meantime, you may disable that option in Jetpack to make the widgets work.
Hi Omar,
I submitted a fix to Jetpack to get this issue resolved in a broader, reliable way. Just in case I don’t get any traction with Jetpack, I have come up with a workaround within our plugin which resolves the conflict introduced by Jetpack.
We are going to give Jetpack a couple of days to respond to the pull request. If we don’t hear from them or we are unable to get a commitment to implementing the fix on their end, we will publish an update to our plugin with a fix later this week.
Have a great night!
Hi Omar,
The fix we submitted to Jetpack has been approved. It will be included in Jetpack 12.4 which is schedule to be released on August 1st.
There is change to the code in our plugin which is required to make the fix work. We will release an update to our plugin sometime before the August 1st Jetpack release.
Have a great day!
Hi Camacho,
Jetpack has officially accepted our patch into their code base. The fix will be included in their next version (presumably 12.4.0).
We have released version 9.0.10 of the our basic plugin which included the necessary filter to allow the Jetpack fix to work.
Please complete the following steps to resolve the widget visibility conflict:
Have a great day!