Sliders not showing up: setREVStartSize is not defined

拥有回忆 提交于 2019-12-10 15:03:06

问题


After I upgrade my Revolution slider plugin (5.4.5.1) for Wordpress (4.8) I start to get this error: setREVStartSize is not defined

I'm trying differents approaches to fix this but without success. Is this a specific js file to be loaded in order to fix this? I don't if my theme is loading all assets.

Thanks!


回答1:


This happened to me after updating to the latest version 6.0.6.

I was able to fix it by clicking "Globals" link in the top of the Slider Revolution main dashboard page, and then selecting "Include Libraries Globally".




回答2:


Another possible cause is your setting in RevSlider Global settings. Turning off 'Include RevSlider libraries globally' and then trying to include a slider on a page that is not explicitly defined by ID in the field 'Pages to include RevSlider libraries' will trigger this error. The latter field does not take page slugs, so it should be a comma separated list of IDs and/or homepage.




回答3:


Same problem, spent two weeks on this and have not figured it out....

This "setREVstartsize" is a newly added API function?

Please review; http://www.madcoilbuilt.com

Im losing my mind, if someone is able to offer any insight that would be amazing! I had slider working previously and I migrated the WP installation to another host and ever since then, garbage....




回答4:


This usually happens when the revslider shortcode is placed before the wp_head(); function call. Make sure that all the base scripts are loaded properly first.




回答5:


In my case was a JavaScript code that I had inserted in the header without close properly the script tag. I had not updated neither wordpress, nor plugins, nor themes. I had just installed "Insert Headers and Footers" plugin and put the code with issues there



来源:https://stackoverflow.com/questions/45066543/sliders-not-showing-up-setrevstartsize-is-not-defined

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!