71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
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

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
MJTheme
says

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

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
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 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+4 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.

1937 posts
  • Achieved the monthly Community Superstar Award
  • Helped improve Envato sites by detecting a security issue
  • Created a helpful tool/app using the Envato API
  • Participated in a focus group or interview to improve the user experience on Envato Market
+18 more
SamBerson
says

Try changing the theme to one of the default ones.

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
MJTheme
says

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

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
MJTheme
says

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

3535 posts
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Had an item that was trending
  • Located in United States
+13 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.

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
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

71 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
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