Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Wordpress plugin conflicts and blocked javascript
Avatar
Jens Krakau
Member
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 5:24 pm

Hi, 

we have several big issues with our simple press installation and need help. 

First, when simple press is activated, we can no longer access the theme options from our wordpress theme. Moreover, when other wordpress plugins are activated or installed, it happens sometimes that the entire plugin page as well es the wordpress dashboard remains blank. There seam to be conflicts with several other wordpress plugins, including Jetpack. 

Finally, when users access the forum page without being logged in, loading times are unusually long. Firefox says that's because of some script being broken or non-responding. 

Namely: http://windowsunited.de/wp-con.....fea17.js:1

The debugger shows:  jQuery UI Widget 1.11.4

Oddly enough, the problem doesn't occur when you try to access the forum while being already logged in. 

These issues severely affect the usability of our website, so we hope to get help. 

Thanks and best regards

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 6:03 pm

Hey Jens,

Firstly, I'm seeing a lot of references to 'cache' in the console. Not sure if you have a cache activated but it's worth mentioning that If you are, the forum page has to be excluded. Since the forum loads dynamically on one page caching it can cause all manor of problems.

Of course, this might also explain why these problems don't occur (or at least aren't noticeable) when a user is already logged in.

It's definitely the first thing to check!

Avatar
Jens Krakau
Member
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2015 - 9:19 pm

Hi Ike, 

 

thanks for the quick reply. 

I excluded the forum from caching (indeed, it wasn't excluded before) and cleared the cache. However, this doesn't seem to resolve the issues. For instance, I still get the same error message about a blocked script. 

Best

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2015 - 2:49 am

The first thing you need to do is to turn off all that 'Rocket' script 'minification'. As far as I can see it is screwing lots of things up which it usually does in my experience. You also gain very little. 99% of the scripts loaded by SP are already 'minified'. And with it turned on it is also impossible to see what is going on - and you have a lot of errors and script issues showing up in the console.

As a separate issue the only 'slow loading' of the forum page I saw was while the page accessed YouTube for some reason  - that slowed it down somewhat...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Jens Krakau
Member
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2015 - 3:30 am

Hi Swordfish, 

thanks, I should have thought of that myself! Turning off minification solved the issue with the blocked javascript. 

I can check tonight if it solved any of the conflicts with other plugins, but I'm not sure these issues are related. Can you check now if you see any other problems?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2015 - 3:58 am

There seem to be two script errors left in the console both caused by the 'naMediaAd.js' script. everythugn else seerms OK....

andy-signature.png
YELLOW
SWORDFISH
Avatar
Jens Krakau
Member
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2015 - 5:16 pm

Ok, thanks! So the blocked JS is resolved now. 

Unfortunately, there is still a conflict with some others plugins. For instance, if I activate Jetpack, the Wordpress Dashboard remains blank, so does the plugin page, the theme options etc.

The conflict may have something to do with our wordpress theme as well, since it installs two plugins (shortcodes and theme options panel). In any case, though, the issue does not occur when simple press is deactivated.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2015 - 5:44 pm

Unfortunately Jetpack is known for causing trouble for a lot of people not only running Simple:Press but also other plugins. Technically speaking yes, the issue doesn't occur when Simple:Press is deactivated, but the issue is still there and could potentially affect the use of other plugins.

I think most notably recently problems have been related to the Jetpack stats which you can disable, although not having used it I can't advise much more than that and I didn't think it affected the admin panel, more the front end. Still might be worth a try.

Just out of interest to cover all bases have you asked the theme developer(s) as well?

Avatar
Jens Krakau
Member
Free Members
sp_UserOfflineSmall Offline
Jul 2, 2015 - 5:32 pm

The error log shows various errors of the following type: 

 

PHP Notice: Undefined variable: controlBackGroundHover in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 131

[Thu Jul 02 08:58:43 2015] [error] [client 90.186.0.29] PHP Notice: Undefined variable: controlDisabledBackGround in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 137

[Thu Jul 02 08:58:43 2015] [error] [client 90.186.0.29] PHP Notice: Undefined variable: controlDisabledColor in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 138

[Thu Jul 02 08:58:43 2015] [error] [client 90.186.0.29] PHP Notice: Undefined variable: controlDisabledBorder in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 139

[Thu Jul 02 08:58:43 2015] [error] [client 90.186.0.29] PHP Notice: Undefined variable: controlFieldsetBorder in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 143

[Thu Jul 02 08:58:43 2015] [error] [client 90.186.0.29] PHP Notice: Undefined variable: controlFieldsetBackGround in /var/www/vhosts/windowsunited.de/problem-with-post-edit-buttonttpdocs/wp-content/sp-resources/forum-themes/unified/styles/unified.php on line 144

...and so on. You have any idea where this comes from and if it could have something to do with the plugin conflicts

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 2, 2015 - 8:10 pm

those are notices, not errors... and harmless - certainly not anything conflicting with jetpack...  just  nuisances that get corrected as they show up...

is this an unmodified unified? and up to date (which version)?  and which overlay are you using...  so we can check on the notices for any needed cleanup...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603