Catchable Error?

dutton
13 years, 6 months ago
I am getting this after successfully installing Mobile Joomla, Adsense Remover and Adsense Addon with no errors when I try to load my site on an iphone.




Catchable fatal error: Object of class JParameter could not be converted to string in/home/mydomain/public_html/libraries/joomla/html/parameter.php on line 83
dryabov
13 years, 6 months ago
What Joomla version do you use?
dryabov
13 years, 6 months ago
Seems you use Joomla!1.5.
Try to disable all mobile modules and plugins and enable them one-by-one (each time checking for error).
MJ creates JParameter objects in menu module only (in the case of it wasn't created automatically by Joomla).
baldguy
13 years, 6 months ago
I was having the exact same problem, and have been watching the board. In my case, it appears to be a conflict with the sh404SEF main system plugin. When I disable sh404SEF, Mobile Joomla works just fine.

Obviously, can't shut that one off. Any workarounds?

Joomla 1.5.23, sh404SEF 2.2.5.964, MobileJoomla 1.0RC

Edit: just upgraded sh404SEF to version 2.2.7.981 and it didn't change anything. Same issue.
dryabov
13 years, 6 months ago
baldguy, did you try to change order of run of both sh404sef and mobilejoomla plugins?
baldguy
13 years, 6 months ago
Yeah, just tried. Have sh404SEF set as 1, and Mobile Joomla set as 2. No difference. Switching them around doesn't help either.
dryabov
13 years, 6 months ago
OK, thanks. Will try to reproduce the error on local server.
dutton
13 years, 6 months ago
If I unenable mj_iphone_middle then it will load but will not show any menu items. I am only able to test it on an iphone though so it could be happening on other devices.
baldguy
13 years, 6 months ago
Just looked a little further - if I go directly into an interior page (with sh404SEF turned on), Mobile Joomla displays, except I don't have a menu. Still, the front page doesn't - throws the original error.

Tested on both Android and iPod - same result.
dryabov
13 years, 6 months ago
Could you give me ftp access to your site? I'd like to add some debug output (it will be limited to my IP only, so work of site will not be affected) to found reason of the issue. Hope it'll take less than 30 min.

Or, alternatively, send me (denis​@​mobilejoomla.com) a copy of the site and dump of the database.
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.