icos-urenio / Improve-my-city

Improve my city allows citizens to report, vote and track non-emergency issues
Other
58 stars 37 forks source link

Fatal error: Call to a member function get() on a non-object in.....views/issues/view.html.php on line 122 #109

Closed Lolina closed 11 years ago

Lolina commented 11 years ago

I am getting a weird error whenever I try to post an issue.

Fatal error: Call to a member function get() on a non-object in /home/***_/public_html/_**.org/components/com_improvemycity/views/issues/view.html.php on line 122

The issue still gets posted to the database and is available for viewing, but instead of returning to the issue list, I just get an error. Can anyone help me resolve this? I am running a clean new install of Joomla 2.5.7, with the newest Improve my city version on the default Joomla template and PHP 5.3.

itsam commented 11 years ago

Hi Lolina, An update will be released late this night or tomorrow morning. You will receive an automatic update notification that will solve the bug

Thank you -Ioannis

On Fri, May 10, 2013 at 12:37 PM, Lolina notifications@github.com wrote:

I am getting a weird error whenever I try to post an issue.

Fatal error: Call to a member function get() on a non-object in /home/***_/public_html/_**.org/components/com_improvemycity/views/issues/view.html.php on line 122

The issue still gets posted to the database and is available for viewing, but instead of returning to the issue list, I just get an error. Can anyone help me resolve this? I am running a clean new install of Joomla 2.5.7, with the newest Improve my city version on the default Joomla template and PHP 5.3.

— Reply to this email directly or view it on GitHubhttps://github.com/icos-urenio/Improve-my-city/issues/109 .

Lolina commented 11 years ago

Thanks itsam! This happens only when I use a custom translated version, I am currently checking it for errors but for now the only difference to the english version is that it is in UTF8 format and has UTF8 characters,maybe that could have something to do with it?

Lolina commented 11 years ago

I checked out the other posts and it seems there is another thing that causes it and that is setting IMC as the homepage.

Anyway, please add a captcha such as ReCaptcha option for the posting and commenting, just in case ppl spam. Also, a feature to share issues like AddThis could be cool, I just added it to the template myself. AND: Multiple cities = epic win.

Siktunes commented 11 years ago

i keep getting the same error message when i use IMC on the default home page, what is the solution to stop the error message from reoccuring?

eldetui commented 11 years ago

Fatal error: Call to a member function get() on a non-object in /home/vinoport/public_html/components/com_improvemycity/views/issues/view.html.php on line 122

En la linea 122 del fichero view.html.php, lo siguiente: Eliminar - $html5 = $menuparams->get("html5");

Y poner - $html5 = 0;

itsam commented 11 years ago

The error appears only when IMC is relied on Home (default menu). It is fixed on version 2.5.6.