pshemek
Forum Replies Created
-
Forum: Plugins
In reply to: [Splide Carousel Block] Error when try to set responsive breakpointsThank you!
True.
I was going to ask you for a function to switch the subtitle tag into a paragraph, but I’ll give you a break. 😉
Your suggestion hit the spot.
On the last iteration I did not replace the block inside the template. Once I did, the error disappeared.Thank you for your effort on making the plugin better!
It is not obvious on these forums.Good, the subtitle is visible in the catalog. So we can consider it like almost fixed for the end user.
However, the editor console still shows an error in the plugin which is compiled to “Uncaught TypeError: a is undefined”, so not much info from this on production. It is triggered early, because it is present in the whole site editor.
On some templates it manifests itself through an error notice “The “kia-subtitle” plugin has encountered an error and cannot be rendered.” and on some it does not.
Maybe WooCommerce template creates a somehow different context, I don’t know…
The issue was incomplete database structure migration.
It has been resolved with the great support from Ben.The error has gone, however, the post (product) template block shows just a “No subtitle” placeholder. It would be great if it could grab the actual subtitle from the post (product) meta.
Thank you, I’ve emailed the support.
The product catalog displays “No subtitle” placeholder at products and the same notice as before at the top.
I’m not sure but the console error may be different.Uncaught TypeError: i is undefined...It is present even if the block is not inserted into the template, so is triggered at earlier stage.
Warning: React has detected a change in the order of Hooks called by render. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks Previous render Next render ------------------------------------------------------ 1. useRef useRef 2. useContext useContext 3. undefined useContext ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ render@https://mysite.local/wp-content/plugins/kia-subtitle/assets/js/dist/index.js?ver=4.0.0:1:274 PluginErrorBoundary@https://mysite.local/wp-includes/js/dist/plugins.js?ver=0dd2604d62f853fd21af:290:5 div PluginArea@https://mysite.local/wp-includes/js/dist/plugins.js?ver=0dd2604d62f853fd21af:594:20 RouterProvider@https://mysite.local/wp-includes/js/dist/router.js?ver=24ab4c66bbafbf045980:911:24 GlobalStylesProvider@https://mysite.local/wp-includes/js/dist/edit-site.js?ver=7687c91667ed9257416e:12191:30 SlotFillProvider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34760:26 provider_SlotFillProvider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34857:35 Provider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34916:18 App@https://mysite.local/wp-includes/js/dist/edit-site.js?ver=7687c91667ed9257416e:45432:55 Uncaught Error: Rendered more hooks than during the previous render. updateWorkInProgressHook... Uncaught Error: Rendered more hooks than during the previous render. updateWorkInProgressHook... The above error occurred in the <render> component: render@https://mysite.local/wp-content/plugins/kia-subtitle/assets/js/dist/index.js?ver=4.0.0:1:274 PluginErrorBoundary@https://mysite.local/wp-includes/js/dist/plugins.js?ver=0dd2604d62f853fd21af:290:5 div PluginArea@https://mysite.local/wp-includes/js/dist/plugins.js?ver=0dd2604d62f853fd21af:594:20 RouterProvider@https://mysite.local/wp-includes/js/dist/router.js?ver=24ab4c66bbafbf045980:911:24 GlobalStylesProvider@https://mysite.local/wp-includes/js/dist/edit-site.js?ver=7687c91667ed9257416e:12191:30 SlotFillProvider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34760:26 provider_SlotFillProvider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34857:35 Provider@https://mysite.local/wp-includes/js/dist/components.js?ver=fd3882637f2f48054bd3:34916:18 App@https://mysite.local/wp-includes/js/dist/edit-site.js?ver=7687c91667ed9257416e:45432:55 React will try to recreate this component tree from scratch using the error boundary you provided, PluginErrorBoundary.I actually suspect a plugin conflict
I have just tested on a clean install in Local by WP Engine and it really happens.
Also, I assume you are trying to edit this page from the Admin > Private Area > Private Pages > Logout > Edit, right ?
No, I don’t know why you assume it. I am trying to edit The Logout page from WP post list or from Admin > Settings > WP Customer Area > Site Pages > Logout > Edit it, if you prefer.
I cannot reproduce it anymore so I mark the issue as resolved.
Forum: Plugins
In reply to: [Pay by paynow.pl] Fatal error on v 2.4.27It has been resolved in 2.5.0.
Forum: Plugins
In reply to: [Pay by paynow.pl] Fatal error on v 2.4.27I suffered from the same error so I created a Github issue: https://github.com/pay-now/paynow-woocommerce/issues/235
You may try to downgrade the plugin to 2.4.26 by uploading the zip package from the developers: https://github.com/pay-now/paynow-woocommerce/releases/download/2.4.26/pay-by-paynow-pl.zip