Hi @chris-yau,
Thank you for sharing the video. It looks like our plugin is encountering an error when loading the pagination/filters via AJAX. Can you please check the browser console for JavaScript errors?
If you are not familiar with that please take a look at this article: https://wpcode.com/how-to-use-developer-tools-inspect-element/ specifically in the “Debug JavaScript Errors Using Developer Tools” section.
Any errors that you see in the console when try to filter should help us provide a solution.
Hi @chris-yau,
Thank you for sharing those, it seems there’s a JS error on the page from a script that is not loaded by WPCode.
Can you please check which plugin or maybe your theme is loading the admin-main.js file?
We are going to make an improvement on our end to prevent this type of error from being thrown in such situations.
Hi @gripgrip ,
I found there some plugin will use admin.js and admin-main.js
WP All Import
plugins/wp-all-import-pro/addon-api/static/js/admin.js?ver=3fed68c2845a124dc3f8cc9ddd29b2e0
https://wordpress.org/plugins/wp-all-import/
MSRP
plugins/woocommerce-msrp-pricing/js/admin.js?ver=4.1.0
https://woocommerce.com/products/msrp-pricing/
WPCode Lite
plugins/insert-headers-and-footers/build/admin.js?ver=2fa3643e4d58893d4bc2ab9df554aad3
WPBot
plugins/wpbot-pro-professional/addons/extended-search-addon//js/admin.js?ver=1.0.0
https://wordpress.org/plugins/chatbot/
OneClick WhatsApp
plugins/oneclick-whatsapp-order/assets/js/admin-main.js?ver=1.0.7
https://wordpress.org/plugins/oneclick-whatsapp-order/
And all of above plugins (except WPCode Lite) I have deactivated still cause error as in previous screen record I only enabled 4 plugins
https://drive.google.com/file/d/1lWNghIfROdrYnHYsk5J5c2e0xl3Ha8uG/view?usp=drive_link
Thanks
Hi @chris-yau,
Yes, that error is being thrown in the WPCode file, I was suggesting that it may have something to do with another JS file being loaded on the page, either from a plugin or your theme.
That’s why I recommended trying to determine where the first error in your screen recording is coming from, the one related to the shortcode generator in the admin-main.js file.
We are going to release an update soon to address this scenario and avoid this error entirely by changing our approach there.
Hi @gripgrip ,
Thanks for support and quick response.
Hi @chris-yau,
Please update to the latest version of WPCode released today. Let me know if you still run into issues filtering the snippets.
Hi @gripgrip ,
yes, it fixed after updated, thanks