Custom 404 Issue

Custom 404 Plugin is generating an error, showing in the top…
URL: https://www.dicide.de/mun
how can i solve this?

regards,
cyrock

Hello Cyrock,

Thanks for writing in! You are seeing a PHP Warnings. Usually this could mean that a variable is null or has been unset. To get rid of this PHP Warning messages, kindly disable your debug mode. You can do this by opening wp-config.php and adding

define('WP_DEBUG', false);

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

When you revisit the page, you should no longer be seeing the messages.

Best Regards.

Hi, thanks for responding, i tried this before, but no change…still having this php-warning.
When i switch off custom 404-plugin it is gone…

regards,
cy.

Hello @cyrock,

I have tested the Custom 404 2.0.5 in our local testing server. I could not replicate the error. May we know your PHP version? Please go to X > Status. You should be able to see the basic information about your site. You PHP version should be at least 7.2. 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

Best Regards.

hi, thanks…see information above.

regards,
cy.

Hey cy,

The error you see, Warning: count(): is common when using PHP 7+. That means a plugin is using the count function and PHP 7 warns that it’ll be deprecated in the future. Some popular plugins still use that and I believe plugin developers will replace that at the right time. It won’t cause issues for the time being so it can be hidden. Try adding the following code in your wp-config.php.

  // Disable display of errors and warnings 
  define( 'WP_DEBUG_DISPLAY', false );
  @ini_set( 'display_errors', 0 );

Hope that helps.

Hi, Christian & Themeco-Team,
works! Thanks for assisting…!

regards,
Christian

You’re most welcome, Christian.

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