gmpaixao
gmpaixao

Reputation: 101

Sliders not showing up: setREVStartSize is not defined

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!

Upvotes: 8

Views: 11170

Answers (7)

Leroy Wubbels
Leroy Wubbels

Reputation: 89

If anyone is still struggling with this error.

For me removing the line below from my script enque file fixed it:

//remove_action('wp_head', 'wp_enqueue_scripts', 1);

Upvotes: 0

Christopher Burgess
Christopher Burgess

Reputation: 1

Solved in LiteSpeed Cache

Navigate to: Page Optimisation > Js Setting [Tab]

Under Load Inline JS (last option) select Deferred

[Save Changes]

Upvotes: 0

Rodney Salcedo
Rodney Salcedo

Reputation: 1254

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

Upvotes: 0

UXUIDesigner
UXUIDesigner

Reputation: 171

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".

Upvotes: 17

James Revillini
James Revillini

Reputation: 141

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.

Upvotes: 5

Sandeep
Sandeep

Reputation: 561

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.

Upvotes: 1

Sean Dogan
Sean Dogan

Reputation: 61

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....

Upvotes: 1

Related Questions