Php.ini ? Someone told me

Someone said this to me and that I should contact the server host…

(what they said)
Your php.ini file is not properly setup for production server use. If you have private server control, find the related php.ini entries and set on or off like so:
display_errors = Off
log_errors = On
Then restart the server.

If your server is hosted, complain to your host, this is a security risk. You can also try @ini_set(‘display_errors’, ‘Off’) and similar for log_errors. Place right above the WP_DEBUG line. This does not always work, but it might.

Here’s link to the dicussion:
https://wordpress.org/support/topic/i-got-this-code-error-and-2-screenshots/#post-8882766

The errors here

Are theme related; contact the developer who made the theme.

I can’t because he has been removed from the platform I bought it from… Don’t have it’s contact anymore either. >< didn’t know I should have kept that.

Do you have the original theme file? Just re-upload template-functions.php to core under vlog under themes under wp-content

I did that but, it didn’t change anything… which is weird… :confused:

ini_set('log_errors','On');
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

I’ve gave this in to config… I don’t know why the bug is there to begin with… :confused:

Turn off error reporting in cpanel -> Settings -> Error reporting

How can I reach cpanel?

Okay… but how can I reach it ?

As suggested above by Andrius …Login to your 000webhost account… Settings --> General --> Turn off Show errors.

oh okay thx… :slight_smile:

I didn’t know it was settings -> general
So settings is just cnpalen.

1 Like

post back if any isues.