Skip Navigation

[Resolved] views creates 502 on a page and aslo prevents new pages from being creat

This support ticket is created 6 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 15 replies, has 2 voices.

Last updated by Shane 6 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#1100662

Last night hidden link started returning an error 502. We also notice we cant create a new page- this also returns a 502 error. If we disable wp-types the page loads- but of course no content and we are once again able to create new pages.

I have given you access to our staging site if you need to login-

#1100694

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Thank you for contacting our support forum.

Would you mind letting me know when this issue started occur ?

Also could you temporarily disable all the non-toolset plugins and try again ?

Thanks,
Shane

#1100767

Thanks Shane I did that and the page still generates a 502.

As to timing. The director of the museum emailed me about it last night- They are closed monday , so its possible it happened over the weekend. Don't know for sure

#1100805

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Could you check with the hosting provider and ask them to have a look at this ?

They should be able to provide a bit more details on why this is occurring.

Please contact them and let me know what the response is.

Thanks,
Shane

#1101780

Shane I initially contacted them and it was at their urging i tested plugins to see if one could be at fault. I can go back to them-of course it would be helpfull if i had a bit of a clue as to what you might be suspicious of or what i could ask them specifically to look at

#1101803

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

I would like for you to ask them for the server log.

This should be able to tell us exactly what is causing the error.

Thanks,
Shane

#1101831

Shane - they weren't real helpful but showed me where to get the error log. Im not skilled enough to understand what its telling me. Can i Put it in drop box and send yuou a link- perhaps something will jump out at you

#1101834

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Yes this would be extremely helpful.

Thanks,
Shane

#1101836

thanks Shane

hidden link

#1101840

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Thank you for the log.

I checked in and there isn't anything that could point me to the issue.

Could you follow the instructions in the link below and enable the wordpress debug ?
hidden link

This way It might print out the actual error on the page.

Thanks,
Shane

#1102618

Shane this doesnt look like it has any bearing but this is the output of the debug log

[07-Sep-2018 17:02:48 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CC_GF_SuperClass has a deprecated constructor in /nas/content/live/sgriffin/wp-content/plugins/gravity-forms-constant-contact/constantcontact.php on line 1293
[07-Sep-2018 17:02:50 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type scheduled-action is not registered, so it may not be reliable to check the capability "read_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /nas/content/live/sgriffin/wp-includes/functions.php on line 4161
[07-Sep-2018 17:02:50 UTC] PHP Notice: map_meta_cap was called incorrectly. The post type scheduled-action is not registered, so it may not be reliable to check the capability "edit_post" against a post of that type. Please see Debugging in WordPress for more information. (This message was added in version 4.4.0.) in /nas/content/live/sgriffin/wp-includes/functions.php on line 4161
[07-Sep-2018 17:02:57 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CC_GF_SuperClass has a deprecated constructor in /nas/content/live/sgriffin/wp-content/plugins/gravity-forms-constant-contact/constantcontact.php on line 1293

#1102667

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Would it be possible if I took a local copy of this site to test on my server here?

If the issue remains here then I can rule out this being a server issue and start debugging even further.

Please let me know.

Thanks,
Shane

#1102672

Yes of course thanks very much

#1104611

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Steve,

Sorry for the no response as it was the weekend.

I'm currently working on this one now.

Thanks,
Shane

#1105507

Shane I think i have stumbled on issue. I was running the views on the page one at a time so i could copy the html into a static page as all the shows are reopening.

This short code seems to create the 502

<div id="founder" class="gallery-block">[wpv-view name="griffingalleriesblockview" wpvgallery="the-founders-gallery" ]</div>

even if i run it on a page by itself it makes a 502.

turns out there is no current show in that gallery- when that happens the no items found part of the view display a message that there are no current shows and then is supposed to display content from the next show. which in this case also doesnt exist- So i think the view gets thrown into a loop that never ends. And times out the page

I know you ve spend a ton of time setting up the local host version of this site and i thank you immensely for your help- But im pretty sure i can figure out whats wrong here now that i stumbled in to this.

Sorry to put you through that