Major display issues for logged in users (Infinite scrolling)
-
The site I’m working on uses the Flex Mag theme, and includes infinite scrolling. When logged in users view pages (this is wp-admin logged in users) and scrolls down enough to activate the infinite scrolling (which isn’t very far), swcfpc items with unique ids get reloaded which causes a whole lot of errors:
16623:1 Uncaught SyntaxError: Identifier 'swcfpc_ajax_url' has already been declared
Uncaught SyntaxError: Identifier 'swcfpc_toolbar_cache_status_tries' has already been declared
These errors (among others) causes the page layout to completely fall apart.
Unfortunately there isn’t a way to disable infinite scrolling for only logged in users on the theme, and I can’t find any way to stop these elements from loading when logged in (I’m assuming they’re necessary to prevent caching being done when users are logged in).
We’ve only switched very recently to Super Page Cache (only around a week), but the the issues its been causing for logged in users means I’ll have to disable the plugin because it’s making previewing/reviewing page content unusable for the people that produce content on the site.
- The topic ‘Major display issues for logged in users (Infinite scrolling)’ is closed to new replies.