This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by shemona singh
over 8 years

Help on 8/8 Putting it All together

I keep getting this error: Oops, try again. It looks like you didn’t print anything!

I have no idea why, here is my code:

Answer 55dd296986f55259880001ca

1 vote

Permalink

These tutorials can be a bit wonky. Two things that I see in your code are:

Missing a ; at the end of echo “Here are my thoughts!” and

I did not put any parenthesis around echo (Blogger::cats); and I somehow got it to work. Hope this helps

points
Submitted by Michael Day
over 8 years

1 comments

shemona singh over 8 years

Yes that was it! Thank you so much!!

Answer 55ea39c99113cb21e70005e3

1 vote

Permalink

This code I have written worked:

points
Submitted by Bekzot Azimov
over 8 years

Answer 55e26915937676460e0006bb

0 votes

Permalink

I’m having the same issue. Here is my code.

points
Submitted by dacook6150
over 8 years

1 comments

dacook6150 over 8 years

I got it to work. I saw another post that showed adding static to the first public function say(). Not sure why the error message didn’t tell me this.

Answer 5601e4c751b88739b100037a

0 votes

Permalink

You are missing a ‘;‘ on the “Here are my thoughts!”

Tested and it worked!

points
Submitted by Karl
over 8 years