Tell us what you are trying to do?
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?¨
Hi,
Just started updating our site dancemoves.fi to PHP 7.2. The types plugin is not however working completely now (I have not created this site originally but now responsible for getting this updated). I am getting this message on the dashboard(see image_DM) and tried to upload the views plugin but the plugin did not upload (downloading went fine but when trying to install zip file it said expired link).
The types tool is not familiar to me - so basically the site is working now with PHP 5.6 but if I update it to 7.2 the content is not showing, only the background. All plugins are up to date, only problem seems to be the template message I am receiving in Types dashboard. Great if you can help me out.
site:www.dancemoves.fi
I am getting this message on the dashboard(see image_DM)
Hi, this message is usually nothing to worry about. It is a reminder that you can create custom post templates with Toolset Views. If you want to use the template system built into your theme instead of the Views Content Template system, you can disregard this message for every post type and every archive.
and tried to upload the views plugin but the plugin did not upload (downloading went fine but when trying to install zip file it said expired link).
This is unrelated to the message you see in the Toolset dashboard, and could indicate a problem with a theme or plugin conflict, or a problem with server configurations. I can see in your debug information that your server has a maximum 2M file upload policy in place, and a maximum post size of 8M. This means that you cannot upload files larger than 2M in a single upload. You can try to bypass those values by going to wp-admin > Plugins > Add New, then click the "Commercial" tab. Scroll down to the Toolset panel and try installing the plugins here.
If this doesn't work, you can ask your hosting company to extend the limits for file uploads and post sizes. The Views plugin, for example, is around 8M. So a maximum 2M file upload policy is going to trigger an error during that plugin upload process. Try increasing both those values to 128M, or whatever maximum your host allows.
Thanks for the quick reply!
I got the download through commercial tab but it did not solve the problem.
If I update from php 5.6 to 7.2. the content disappears, only background image is shown. Any idea where I could start looking to fix this? The custom theme is based on the Bones starter theme.
Many thanks in advance!
Sari
We can try looking for any server-side errors. Go in your wp-config.php file and look for
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
Then add these lines, just before it says 'stop editing here':
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
Upload the wp-config.php file back to your server, then update to PHP 7.2. Reload the blank page where your content should appear. If any server-side errors are generated, this will create an error_log.txt file in your site's root directory. Please send me its contents. Once that is done, you can revert the changes you made to wp-config.php. If no errors are generated, I can try to install the theme on my own test site to recreate the problem. I looked at the theme site here but the link to download the theme files is 404: https://themble.com/bones/ Do you have another link?
Hi
No errors generated.
... and now actually I noticed that all content have disappeared after updating the Types & Views tool. So basically the content was created with older Types version (not sure if it was 2.3.x version). Updated the Types & Views yesterday and now the content is not seen on site, only on the admin side. This is the case both with PHP 5.6 and 7.2.
I will try to find another link for bones.
FYI: I have now single.php as template for the pages (see image attached) and now I see content again in most of the pages.
... however all disappear if I update from php 5.6 to 7.2. Only the blue background image is shown.
This Github repository is a fork of the original theme, which means it's been modified. Is your site using the forked theme files, or the original theme files?
https://github.com/squibbleFish/theme-bones
If you're using the original theme files, I need you to create a zip file of the original theme files and upload it somewhere. Then provide a download link here, and I will install the theme files exactly as you have them. Or, create a full site backup then update your site to use the forked repository theme files and let me know the results.
Hi
You can download our themefiles from here hidden link
Thanks!
There is a fatal PHP error triggered by your theme in PHP 7+:
Fatal error: Uncaught Error: Call to undefined function split() in /wp-content/themes/dancemoves/header.php on line 63
The split function was deprecated in 5.3.0 and removed in 7.0.0: http://php.net/manual/en/function.split.php