197 posts ThemePrince
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Has sold $75,000+ on Envato Market and is now an Elite Author
+2 more

I just had a problem with a client who had a lot of plugins installed and when my theme was activated, only a white screen appeared both in admin and frontend. I figured out that one of the plugins had the same function name what I used in the theme.


Tip #1: always create your PHP functions with an own prefix like this:

function my_custom_dashboard_themeprince(){ ... }

Tip #2: For debugging errors like this in WP, add the following lines to wp-config.php:

define(‘WP_DEBUG’, true); @ini_set(‘display_errors’,’On’);

Deactivate all plugins, activate the theme and start activating plugins 1-by-1 untill the error appears.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes