Wordpress has found a error with your pro theme

Hello,
I received this automatic mail which say that there is a error with the pro theme :

WordPress version 5.3.3
Thème actuel : Pro – Child Theme (version 1.0.0)
Extension actuelle : (version )
PHP version 7.3.1

Détails de l’erreur

Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 185 du fichier /home/ebpmeca/www/wp-content/themes/pro/functions.php. Message d’erreur : require_once(): Failed opening required ‘/home/ebpmeca/www/wp-content/themes//framework/functions/helpers.php’ (include_path=’.:/usr/local/php7.3/lib/php’)

Do you know what’s that mean ?

Hi Lyser,

The error means a missing file. Can you please enabled your debug mode? You can do this by opening wp-config.php and adding

define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should have some error output describing the issue in more detail.

If in case you can’t find the specific file, most probably you have customization on a template, added it on a child theme, then there is structure changes and this template need to be added on the correct folder structure on the child theme. To confirm this, let’s try basic troubleshooting. Please try this steps to see if the same error exist when you switch to main pro theme:

https://theme.co/docs/common-issues/#child-theme

If the issue is fixed, please checked all your customize template. Check it’s correct location on the main Pro theme and then add it on the same location on your pro child theme.

Hope this helps.

Thx lely, when i add the code (i just changed false to true in the wp-config.php file), there is no error message displaying, (the page of error is the login page)
Eveything seems to be working fine on the website.

Hello @Lyser,

I also checked your homepage and you are using the latest version of the Pro theme. Did you updated your Pro theme manually? The missing file could be corrupted or overwritten during the updates. To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/docs/getting-support

Regards.

Hello ruenel,
Update has been done automatically, but i was with the X theme before i went with pro for this website, could it be the cause of the problem ?

Hello Lyser,

Did you get the email with the error message when you update from X to Pro? I have just checked your files and the required helpers.php is present in pro/framework/functions which should have been loaded.

The error message you got indicates that the file missing is the helpers.php in /wp-content/themes//framework/functions/ which is not an existing directory. Perhaps it happened in the course of enabling pro and then the child theme but I don’t think you should worry about it now in case you keep getting the error.

Also, your pro child theme’s style.css is blank. It should have some default code:

/*

Theme Name: Pro – Child Theme
Theme URI: http://theme.co/pro/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro

*/

Kindly check your error logs again and see if you are still getting the error message or if it has cleared out.

Hope this helps.

Hello Jade,
Ok i won’t worry anymore for this, and it’s strange that you see my child css empty, (there is a lot of css with default code in it).

thx for help =)

You’re welcome!
We’re glad @Jade were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.