70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

Notice: Undefined index: cperpage in C:\xampp\htdocs\xampp\wordpress\wp-content\themes\shandy\functions.php on line 510

Notice: Trying to get property of non-object in C:\xampp\htdocs\xampp\wordpress\wp-content\themes\shandy\functions.php on line 601

Notice: Trying to get property of non-object in C:\xampp\htdocs\xampp\wordpress\wp-content\themes\shandy\functions.php on line 601

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

i install some plugin for check my theme and enable WordPress DEBUG, how should fix error, notice,require,RECOMMENDED …
thanks guys.

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

nobody here?

767 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
outandouter says

If disabling the plugin removes these errors, then it is definitely the plugin itself or its compatibility with your theme.

Otherwise, there’s some problem in your theme.

It cannot be diagnosed without looking into the source code.

1870 posts
  • Helped improve Envato sites by detecting a security issue
  • Participated in a focus group or interview to improve the user experience on Envato Market
  • Contributed a free file of the month
  • Has sold $5,000+ on Envato Market
+14 more
SamBerson says

Try changing the theme to one of the default ones.

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

i disable plugin and active twenty twelve theme ,yet i have error

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

Notice: Undefined index: cperpage how i can fix it?

3503 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $750,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Moderator says

You need to check for the existence of the index (key) / property before accessing them in the array / object

For the array (undefined index), look at the isset() function

If the values should always be set, you need to reevaluate why at some point in the code your current state does not match the expected state.

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

You need to check for the existence of the index (key) / property before accessing them in the array / object

For the array (undefined index), look at the isset() function

If the values should always be set, you need to reevaluate why at some point in the code your current state does not match the expected state.

Thanks

70 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
MJTheme says

i have another Q , when we active WP_Debug,we should fix all of Error then submit our theme?

it is rule?

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

by
by
by
by
by
by