Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
1.9k views
in Themes by
Hello Experts,

  I am using the latest Snow-Flat Mobile theme that shipped with 1.7 version. The theme is great, but I am getting the error on home page " Notice : Trying to get property of non-object in /home/.../qa-theme.php" on line 295 .

I checked the code and it says the below :

        $this->output($qam_snow->headers['ask_button']);

 

Also, there is another error saying the same error in line 309 . The code look like below.

        $this->output($qam_snow->footer_custom_content);

 

I checked in the forum, others have reported this, no one responded to it. Hence asking your help.

 

Cheers,
Q2A version: 1.7

1 Answer

+2 votes
by
selected by
 
Best answer
by
No Luck, I upgraded to 1.7.1. Unfortunately, it does not work.
by
Really? A downvote? Don't you think you should at least explain what error you are getting now? Obviously you can't be getting the same error because that code does not exist anymore... If you discourage people who offers help it is unlikely you'll get any
by
Well, sorry for the down vote, I just meant it so that others dont think it is resolved...removed it.  It is just the same error. No changes !
by
Ok. It can't be the same error... I have removed that code myself here: https://github.com/q2a/question2answer/commit/feb6adf8a66996f85ba7c4232cbf3098dc51c933
by
Apologies, my bad. I had copied the theme and modified it for putting ad-sense. Thanks a lot !  Appreciate your help !
...