Skip Navigation

[Resolved] Fatal error appearing when we upgrade to php 7.2

This support ticket is created 5 years, 1 month 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Beda 5 years, 1 month ago.

Assisted by: Beda.

Author
Posts
#1220615

I am trying to: Upgrade php version to 7.2

Link to a page where the issue can be seen: hidden link

I expected to see: Fully =functional page

Instead, I got: Blank page

Here is the error message on debug screen

PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /nas/content/live/amnestyindia/wp-content/themes/toolset-starter/index.php:8\nStack trace:\n#0 {main}\n thrown in /nas/content/live/amnestyindia/wp-content/themes/toolset-starter/index.php on line 8.

#1220679

The Toolset starter is deprecated for some years now, you should not use it anymore.

I suggest to switch the theme to something else from here:
https://toolset.com/documentation/recommended-themes/

If you want to have a more customizable blank slate, you can test this custom theme I made some time ago for the purpose (but this is not a Toolset product from OnTheGoSystems, you can hence not receive support for it here)
hidden link

Unfortunately, we cannot update or maintain the Starter Theme you use anymore.

#1220747

Thanks. Just one more querry. Do u think our layout or UI will be changed by switching to any of the listed themes? Please let me know if there is any guidance link to switch themes smoothly.

#1220804

The Layout changes will be as follows:

1. In the Toolset Starter theme you created everything in Toolset Layouts, this means, the header, content, sidebar and footer of the front end.
2. As soon you switch to any other theme, everything that you added thru Toolset Layouts will be squeezed into the "the_content()" part of the theme, and the theme will instead push its header, footer and sidebar around it.
This means you will have to remove things from your layouts, most likely, and will not be able to control it anymore at the extent as before (some themes, the ones I linked in https://toolset.com/documentation/recommended-themes/, offer options to control this better)
3. For full customized sites you probably will go with more ease and peace of mind using hidden link, which is such a minimal theme that it requires basically no maintenance. However, as said, this is not a Toolset Product, and support can only be received from me via GitHub if I have time (however it was necessary only once in all the years it's online already).
You are free to use that theme as you like and if you read it's code, I am sure you will understand it immediately and also prepare your own version of it, as many other users coming from the Toolset Starter Theme did.

I hope this helps.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.