This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Marqué : Views plugin
I am trying to:
Link to a page where the issue can be seen:
I expected to see:
No errors in the console.
Instead, I got:
Cannot read property 'page' of undefined
at WPViews.ViewPagination.self.init_paged_view (wpv-pagination-embedded.js?ver=2.9.4:3135)
Cannot read property 'pause_on_hover' of undefined
at HTMLDivElement.<anonymous> (wpv-pagination-embedded.js?ver=2.9.4:3353)
Thank you for getting in touch.
Could you let me know when did this issue started to occur?
Well, I noticed it several days ago when I added a hidden Formidable form in the footer. Formidable support pointed out the issue when the form could not be submitted via AJAX.
I've tried removing the form but the same JS errors persist.
Since I first encountered the issues I've updated WP and the Toolset plugins and the issue persisted.
Thank you for the information.
What happens if you create a new view and then add it to the page and remove the original one from this page.
Does the issue still persist?
It could be a case where the view might've been corrupted. If this does not help please let me know.
Unfortunately that did not resolve the issue.
WOuld you mind allowing me to have admin access to the site ?
Also would you mind if I took a copy of the site for testing here locally so that I can identify the issue ?
Thank you for the credentials.
I tried logging into the site but i'm getting an unknown username error.
Could you try them on your end and let me know if they work for you ?
My error. I had added you to production. The credentials I had provided work now.
Thank you I was able to log in now.
Could you let me know me know which view is giving the issue ?
It's "Home: Projekte".
I've reported this to our 2nd tier supporters for further debugging.
I actually did some more testing on this one.
I realised that you were using a custom theme. This is what seems to be causing the issue. If you switch to another default theme you will notice that this issue is no longer there.
Please let me know.
Thanks for taking another look.
There have been only content updates in the last 18 months. No JS changes.
On staging (which I gave you access to) we did add a Formidable form in a lightbox. However, the same errors occur on live which has been the same for a long time.
I tried it with another theme and got no errors. I also noted however that the default theme does not show the View that's on home at all so I wasn't surprised that there was no error. Did you switch themes and then place the views on the page?
I did switch the theme in the duplicator copy i took and placed the view on a different page in order for me to see what will happen and there were no JS errors being loaded in the console.
Le sujet ‘[Fermé] Jacascript errors’ est fermé à de nouvelles réponses.