login to ftp/file manager and edit this file
in folder
wp content
–themes
—storefront
funtions.php
file is there
remove < from line 17 , i think this should fix your issue.
if it still throws errors then you can redownload the theme and upload it again (u will lost previous customizations though)
Hey, thanks for your answer.
But that’s what I did…and unfortunately it’s still the same file as before…not line 17 !
No idea where the child theme could be ? Or is it still the same theme used ?
I can not find the child them on Filezilla.
you mean you cant locate this file?
i think right now website is down too, so better redownload theme file from developer’s website and upload it. you have to rename old Theme too,else it will throw error.
I don’t know what this Plugin does actually.
It’s weird. I download it then I clicked on my theme and I tried to edit the functions.php page. But as soon as I saved this new page this error page appeared.
So I copied the original functions.php page onto the child plugin functions.php page but it didn’t change anything. Then I had the idea to go on Filezilla to edit the functions.php but it’s exactly the same as the original one !
So now I have no idea how to solve this problem … I can only find the original storefront theme on Filezilla and I am not sure if this plugin actually creates directly a physical theme or not.
Thanks for your help anyway
Copying a theme’s functions.php file into a child theme WILL crash a site. You’ll need to use FTP or CPanel to delete that child theme folder on the server.
OR try deleting the plugin that caused the problem.
That’s what I wanted to do but is it possible to delete the plugin directly from Filezilla as it’s the only way to access to my database ?
Because it seems that there is no Child theme folder.,,
The plugin is Orbisius,
You should be able to find the plugin here:
wp-content
plugin
IN HERE - DELETE THE PLUGIN FROM HERE
When I click on
Wp-content
it shows : uploads
themes
And no plugin folder
Sounds like you may not be looking in the right place on your server – can you double check that? And make sure that Filezilla is set to show all files.
I am using Filezilla with my admin and password working.
I can see all the themes I previously downloaded (Theme folder)
The first two folders that appear are :
wp-includes and wp-content -> upload / themes
I set Filezilla to show all my files…
The original
functions.php file :<?php
/**
* storefront engine room
*
* @package storefront
*/
/**
* Initialize all the things.
*/
require get_template_directory() . ‘/inc/init.php’;
/**
* Note: Do not add any custom code here. Please use a child theme so that your customizations aren’t lost during updates.
* http://codex.wordpress.org/Child_Themes
*/
What I tried to add in the plugin child theme functions.php file : //Remove Sales Flash
add_filter(‘woocommerce_sale_flash’, ‘woo_custom_hide_sales_flash’);
function woo_custom_hide_sales_flash()
{
return false;
}
Which led to my current problem…
Okay, try renaming storefront theme.
I saw this advice on another post and did it a few hours ago but it didn’t help me unfortunately…
🙁
On Google Drive I backuped my website today so I might be able to get my website back…maybe it’s easier this way…?