Skip Navigation

[Resolved] 500 – Internal Server Error after adding view to a page

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the customer is getting an error 500 when adding a view to a page.
Solution:
Usually when we get an error 500 it is best to enable the wordpress debugging so that we can see what error is being printed out on the page.

Could you follow the instructions in the link below, as this should point you in the right direction as to what exactly is causing the issue.
https://www.a2hosting.com/kb/installable-applications/optimization-and-configuration/wordpress2/debugging-wordpress

This support ticket is created 6 years, 11 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)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by randallH-3 6 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#607880
Screen Shot 2018-01-19 at 2.22.14 PM.png

Newly created views when added to a page creates an internal server error.

When adding old views to the page it works.

Sample view added:

[wpv-layout-start]
	[wpv-items-found]
	<!-- wpv-loop-start -->
	<wpv-loop>
		[wpv-post-title]
		[wpv-post-link]
		[wpv-post-date]
	</wpv-loop>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
	[/wpv-no-items-found]
[wpv-layout-end]

What could be the problem? I tried debugging removing all the plugins, but the view plugin is what causing the error.

Thanks!

#607971

Shane
Supporter

Languages: English (English )

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

Hi Randall,

Thank you for contacting our support forum.

Usually when we get an error 500 it is best to enable the wordpress debugging so that we can see what error is being printed out on the page.

Could you follow the instructions in the link below and let me know what errors show up.
hidden link

Thanks,
Shane

#608163

Hello,

No errors showing when I disable one of our plugins since it has deprecated function which I don't think causes the internal server error.

It only displays a blank page after removing the plugin mentioned above.

Note that only newly created views cause the internal server error, layouts without view works fine.

#608166

I see the problem now. It is that page can't handle too much data on a view. How can I fix this?

#608312

Shane
Supporter

Languages: English (English )

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

Hi Randall,

Could you post the error message so I can see what it says.

Thanks,
Shane

#608422

No error message as mentioned. Pagination fixed the problem.

Resolved!