Your cart is currently empty!
Homepage › Community Forums › Ambition › Ambition theme keeps crashing
Hi Wes
I have uploaded the ambition theme 3 times and wordpress keeps shutting it down. The error message is as follows – is something missing from the theme?
Warning: require_once(/home/painrevo/public_html/wp-content/themes/genesis/inc/functions/i18n.php): failed to open stream: No such file or directory in /home/painrevo/public_html/wp-content/themes/ambition/functions.php on line 76
Fatal error: require_once(): Failed opening required ‘/home/painrevo/public_html/wp-content/themes/genesis/inc/functions/i18n.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) in /home/painrevo/public_html/wp-content/themes/ambition/functions.php on line 76
It looks like WordPress tried to update this Ambition theme with another Theme that is also called Ambition. I logged in to the FTP and added the Ambition theme to the Themes folder and renamed the other theme that’s not supposed to be there so it becomes inactive.
It should be back to normal now.
This isn’t your fault. The reason this happened is because you probably got an update notification in your WP Admin for Ambition, and when you clicked update, WordPress downloaded and installed another theme with the same name (from their repository). This issue has been going on for a while now and it’s happened to many other developers/users as well – https://wordpress.stackexchange.com/questions/16093/making-update-notification-functionality-for-my-themes
Genesis Child themes usually don’t have Automatic Update Notifications, but the Genesis Framework does. If you see a notification pop up for a child theme, check with me or the developer of the theme you’re using first to make sure.
After adding the correct theme back in, I added this to the functions file –
/**
* Ambition Theme.
*
* This file adds functions to the Ambition Theme.
*
* @package Ambition Theme
* @author Appfinite
* @license GPL-2.0-or-later
* @link https://appfinite.com/
*/
I’m not sure if that will prevent it from happening in the future, but we’ll see. I may just need to rename the theme so it has a unique name.
I haven’t logged into WordPress yet. I did everything through FTP.
Let me know if everything is working again.
I just happened to reload your site and saw the error pop up again. So I went to the FTP to look at the Themes folder and noticed the Wrong Ambition theme was Installed and Activated again. So I removed that one and added the correct Ambition theme back in.
I would avoid the WordPress update notification that you’re getting for Ambition until we come up with a workaround.
Let me know if this makes sense.
Just checked again and I can see it’s working. It shouldn’t automatically update unless you have your WP installation setup to do so? Or maybe your host has your WP install setup to auto update? I’m not sure.
What if we just rename the theme to “Ambition Pro” in the theme files? I can edit the files from FTP info you’ve already sent over, but I’ll need a WordPress login to double check in the admin. You can create a Temporary Administrator login by going to Users > Add New.
Just let me know. I’d be happy to take a look.
I changed the theme name to Ambition Pro and deleted the other Ambition theme installs that weren’t supposed to be there. Let’s see if that works.
Just an FYI. I had the same issue today. But renaming to Ambition Pro did resolve it!
This is what I got after install
https://docs.chrisegg.me/OAux5EdR
After updating it switched to this
https://docs.chrisegg.me/5zu5xpR0
Thanks
Chris
Hi!
After installing and importing the demo content, the website keeps crashing.
URL Link – http://www.cocktailsx.com
@Vivek Parmar can you create a FTP temporary login and send it to the Contact Form so I can login and see what’s going on?
Don’t post it here in this thread as others will see it.
Hi!
Done, as guided by you.