- Posts: 130
- Thank you received: 2
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question PHP error in Recent Discussions page - Undefined variable: objCatInfo
Any ideas?
Running K1.5.3 on J1.5.12 w/ CB1.2.1.
Please Log in or Create an account to join the conversation.
Code validators, in my opinion, are relevant when you're writing your own code and you want to satisfy your professional ego that you've checked things thoroughly. You didn't write Kunena and you're not responsible for any "non valid" code that might be included in it (so I wouldn't worry about it), but the developers might be interested in what you have discovered and I'm sure they'll thank you for your contribution when they're able to.
As a matter of interest, what code validator are you using?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
The site of course works and the error was gone once I turned error reporting off, which doesn't mean it shouldn't be fixed.
Please Log in or Create an account to join the conversation.
The W3C validator - I suspected that's what you might have meant - merely confirms whether the XHTML code conforms to the WWWC's standards. I cannot conclude that there's a PHP error, sorry. It can be asserted, though, that there's a PHP design flaw that has generated "non valid" (but not invalid) XHTML. Of somewhat abstruse, academic interest, I fear.The fact that I used a validator (validator.w3.org) is really irrelevant in this case, as the PHP error is real and there in the page source.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Once again, let's leave the validator out of the picture, as the error shows up in page source, validator or not. I now regret I brought it up in the first place, so can you please drop the validation and focus on the real issue here, or let somebody who is interested do so instead of obfuscating the real issue?
If you turn error reporting on, the error shows up in page source, it is not "academic". Just because it doesn't show when you turn error reporting off, it doesn't mean it's not there, does it?
IMHO, reporting errors like these to Kunena devs should not be discouraged.
Please Log in or Create an account to join the conversation.
Notice: Undefined variable: objCatInfo in /var/www/fedora/components/com_kunena/template/default_ex/flat.php on line 100
Notice: Trying to get property of non-object in /var/www/fedora/components/com_kunena/template/default_ex/flat.php on line 100
You get these errors when you go to your "Recent Discussions" is that correct? I think a similar question was asked elsewhere today (see My Discussions does not display ) ... at least I hope this is helpful and I'm sorry it's taken so long to get the answer you were looking for. :blush:
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.