Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Joyn › Various errors observed with debug on
New Landing › How can we help? › Themeforest Theme Support › Joyn › Various errors observed with debug on
- This topic has 10 replies, 3 voices, and was last updated 10 years by Rui Guerreiro – SUPPORT.
-
Posted in: Joyn
-
December 19, 2014 at 11:45 pm #136912
Hi, getting lots of errors when viewing debug mode and sorting out site after going live…
Any ideas? Thanks!
1)
Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4349 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4351 Notice: Trying to get property of non-object in /var/www/example.com/wp-includes/query.php on line 4353
2) Currently had code to try to turn off product share on single products…
// REMOVE SOCIAL SHARE SINGLE PRODUCT if (!function_exists(‘sf_product_share’)) { function sf_product_share() { return; }
But when inserted into functions.php, it causes this error…
Notice: Use of undefined constant ‘sf_product_share’ – assumed ‘‘sf_product_share’’ in /var/www/example.com/wp-content/themes/joyn-child/functions.php on line 682
December 22, 2014 at 2:24 pm #137268Hi,
In the code above you are missing a closing bracket.
It should be:
// REMOVE SOCIAL SHARE SINGLE PRODUCT if (!function_exists(‘sf_product_share’)) { function sf_product_share() { return; } }
Guess you have debug disable at the moment. Can you enable and give us access?
Can you also check first if that error also appear when you have the default WordPress theme active instead of Joyn theme.
-Rui
December 23, 2014 at 12:40 am #137387This reply has been marked as private.December 23, 2014 at 10:33 am #137484Hi,
Can you check the user credentials because I can’t login with those.
Thanks-Rui
December 23, 2014 at 10:46 am #137491This reply has been marked as private.December 23, 2014 at 11:40 am #137512Hi,
Tried several things but only when activate the parent theme the error was gone.
It seems to be related with some modifications you have made in the child theme.-Rui
January 6, 2015 at 1:26 pm #139364This reply has been marked as private.January 6, 2015 at 2:31 pm #139384Hi,
You have to comment/uncomment pieces of code to figure out what is causing it.
It can be some filter or hook that you have in the child theme that is causing it. Can’t see the files of your child theme.-Rui
January 7, 2015 at 4:35 am #139549Thanks Rui… do you mean in child theme functions.php?
January 7, 2015 at 10:02 am #139599Hi,
Yes, please check the functions.php at child theme.
Thanks
MohammadJanuary 7, 2015 at 10:27 am #139606Yes, the functions.php or any other customization made in the child theme.
-Rui -
Posted in: Joyn
You must be logged in and have valid license to reply to this topic.