Skip Navigation

[Resolved] the basics: getting to the point where I have a ‘view’ on the front-end

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

Problem:
The user's view is not generated on a new page.

Solution:
It was a server issue, the user fixed it by upgrading to PHP 7.3.

This support ticket is created 4 years, 12 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 19 replies, has 2 voices.

Last updated by gregoryJ 4 years, 11 months ago.

Assisted by: Jamal.

Author
Posts
#1686537
error_log within folder.png
Error message on front-end.png
editing wp-config.png
Content of error_log.png

Hi Jamal,

Thanks for the reply, I hope it's going well there. Activating PHP debugging on my hosting sounds like a good plan. I've had a a look at the link and taken these steps:

- I found the wp-config.php file for the domain in question (my cpanel has 5 domains worth of files within it) within my cpanel through my hosting providers portal.
- I've added the three lines of code as per the link you provided to the end of file wp-config.php
- I've opened a new incognito window and gone to the front end of my site where the 'view' should be (and isn't).
- On that front-end page, I've used the form I made (which is above where the view should be) to create another entry for my custom post type that i'm calling 'jobs'.
- I've gone back to cpanel and found the file error_log.txt for the domain in question.
- I have attached the contents of that file and some print screens of the various steps.

*the attachment content of error_log only contains about 90% of the text in that file, as I copy/pasted to paint in order to upload as an image, the remaining lines seem to be repetitive of the last lines viewable in the attachment.

Please advise if there's anything else you'd like me to do or if you'd like access to any of this.

I understand that this will be the last available option to find a solution, in the event that it doesn't produce the solution, do you have a suggestion of a new hosting provider that I should migrate to?

Thanks again,
Greg

#1686769

Hello Greg,

Thank you for your feedback, and for sharing these logs. There is a repetitive PHP Notice from Toolset Blocks and some PHP Warning from WordPress core that are caused by the previous lines of code that were sent in the response.

I checked my local copy again and the PHP Notices are not generated for me. My local copy is using PHPVersion 7.3.2, your server is using PHPVersion 7.1.24.
Maybe these Notices are caused by a different thing than the PHP version, such as PHP extensions on your server. I can't tell.

I can't really suggest a hosting provider. Currently, we are using CloudWays, especially for support. Maybe you can use it while developing your site.
Sorry for not being able to help further.

#1686897

Hi Jamal,

Great news, I have a view! My hosting provider have a plugin which allows the choice of php version per domain. I have changed the selection for the domain in question to 7.3 and presto, I have a view on the front-end. It represents a large step forward for me as I can continue with my project. I'm very pleased, thanks very much indeed for your help with this!

Much appreciated,
Greg

#1686925

Thank you Greg!

Please mark this ticket as resolved and feel free to open a new ticket whenever needed.

All the best for your website project.

#1687075

My issue is resolved now. Thank you!