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
Unable to upload avatars, and an odd HTML bug.
Avatar
Timothy Burton
Member
sp_UserOfflineSmall Offline
Aug 4, 2016 - 10:37 am

For future reference, Visual Composer is a site building plugin. It's pretty powerful, but it also means it comes with a lot of scripts and whatnot to drive it.  

Anyways, I'm totally at a loss now.

Last night, I managed to get a hold of an updated version of both my theme and VC. The thing is, my theme was built with VC in mind, so it made it quite difficult to simply disable VC without the theme throwing a fit.

But, even after I updated both my theme and VC, the issues persisted.

Here's where things get weird.

This morning, I decided to just give up on my theme. I grabbed another theme - this one was pretty light weight and simple, and didn't come with a bunch of extra stuff packaged into it. So, I switched my site's theme to this new one. With VC disabled, I watched my forums again. Guess what. It bugs out. This time, however, it just goes entirely white.

Then, I completely removed VC from my site - I uninstalled it entirely (oddly, I couldn't uninstall it from my WP backend and instead had to delete the plugin via FTP)

Went to my forums, waited - and it bugged out. Again.

To make sure it wasn't any of my other plugins, I disabled ALL of them except for Simple Press. And... it still bugs out!

This is the error that pops up in console:

http://prntscr.com/c1k422

To be clear, I have a brand new theme, visual composer has been completely uninstalled, and the only WP plugin enabled is SP.

Could it be a SP plugin doing all of this?

Edit: I'm going to log out of my site and watch my forum page to see if the error pops up while logged out. Error didn't occur while logged out.

Edit 2: Since this seems to be a classic WP white screen of death, I enabled logging. This is what I got in the logs:

[04-Aug-2016 16:12:49 UTC] PHP Notice: Undefined index: editor in /var/www/clients/client1/web1/web/wp-content/sp-resources/forum-plugins/captcha/sp-captcha-plugin.php on line 46
[04-Aug-2016 16:12:49 UTC] PHP Notice: Undefined index: editor in /var/www/clients/client1/web1/web/wp-content/sp-resources/forum-plugins/post-multiple/sp-post-multiple-plugin.php on line 44
[04-Aug-2016 16:12:49 UTC] PHP Notice: Undefined index: editor in /var/www/clients/client1/web1/web/wp-content/sp-resources/forum-plugins/post-preview/sp-preview-plugin.php on line 38
[04-Aug-2016 16:12:49 UTC] PHP Notice: Undefined index: editor in /var/www/clients/client1/web1/web/wp-content/sp-resources/forum-plugins/topic-expire/sp-topic-expire-plugin.php on line 55

So, I went in and disabled those SP plugins. Now to play the waiting game and let my forums sit idle, logged in, and see if the error occurs again.

Edit 3: After disabling those plugins, then waiting with my forum page idle while logged in, my screen went white and these errors generated in the log:

[04-Aug-2016 12:31:11 America/New_York] PHP Notice: Undefined index: editor in /var/www/clients/client1/web1/web/wp-content/plugins/simple-press/forum/content/forms/sp-form-topic.php on line 16

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 4, 2016 - 12:45 pm

Well - first thing - the forum looks fine to me and seems to be fully functional. At least I am seeing no errors in the script console so that's good. So - not seeing your 'white' screen and not seeing your odd script error (and I don't know what the VM... script component in the error you reported is by the way but not an SP script).

I opened a new topic in the 'Off Topics' forum to test - you may want to delete it.

The message regarding the editor is not an error = it is a notice and is harmless except for the annoyance. 

Try this: Go to the forum admin > Options > Global Settings and over on the right is a default editor selection list. Make sure one is ticked and then update the panel - update it anyway in fact.

However, this notice is showing up on the front page of the forum. This means that you either have WP_DEBUG turned on in your WP config file - or - your PHP is not set to not display notices. This would be rare but we have seen iot before. PHP should NEVER print notices, warnings or errors to the screen except in a development and controlled environment. If this is not the case you need to talk to your host about getting it set properly.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 4, 2016 - 12:53 pm

Ah  I see you get the error at the autoupdate time. This VMxxxx (I see different numbers) is a mystery to me. Clearly it is hijacking the Ajax calls in some way.  Does this mean anything to you?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Timothy Burton
Member
sp_UserOfflineSmall Offline
Aug 4, 2016 - 12:55 pm

So – not seeing your ‘white’ screen and not seeing your odd script error

The white screen only seems to occur when you're logged in and sitting at rebirthgaming.org/forums

It'll happen after a few minutes of just leaving the page sit idle.

However, this notice is showing up on the front page of the forum.

Yea, I enabled that to see what errors were popping up. I've disabled it now though, now that I got an error log to generate.

over on the right is a default editor selection list. Make sure one is ticked

Done and done. It was plain text, I switched it to TinyMCE

then update the panel – update it anyway in fact.

Do you suspect this could be related? I updated it, so we shall see what happens. I'll leave my forum main page loaded and see if I get a white screen or not.

Also, when I updated the panel, this showed up briefly:

http://prntscr.com/c1m5y6

Avatar
Timothy Burton
Member
sp_UserOfflineSmall Offline
Aug 4, 2016 - 12:58 pm

Yellow Swordfish said
Ah  I see you get the error at the autoupdate time. This VMxxxx (I see different numbers) is a mystery to me. Clearly it is hijacking the Ajax calls in some way.  Does this mean anything to you?  

I'm not entirely sure... Someone else was looking into my issue before, and said that Ajax was throwing an infinite callback to the home page or something.

VM. Is that Virtual Machine?

By the way, I do have complete access to my host/server, so if you suspect it's related to something in how the server is set up, please do tell and I'll speak to the person who's managing our server about it.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 4, 2016 - 1:06 pm

The notices look to me like some did not get pre-created at install time. Unusual but, as I say, anjoying as opposed to a problem. As you update admin panels then they will get created properly and the notices will stop.

I really have no clue what the 'VM' in that error stands for. But yes - I would talk it over with your server management to see if they know. I am unaware of any problems with our autoupdate. Again it is something virtually all users leave turned on to the best of my knowledge. You could turn it off until the issue gets more light shed on it of course. And it will be changing in the forthcoming 5.7 release.

andy-signature.png
YELLOW
SWORDFISH
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: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620