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.

1793 posts
  • Contributed a free file of the month
  • Has sold $1,000+ on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
+11 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?

3431 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $500,000+ on Envato Market
  • Located in United States
  • Helps us moderate the forums
+10 more
sevenspark Volunteer 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?

by
by
by
by
by
by