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
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.
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
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.
My issue is resolved now. Thank you!