-
AuthorPosts
-
den_dhaeze Friend
den_dhaeze
- Join date:
- November 2014
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
November 5, 2014 at 7:50 am #202448Hi,
On my website toyota.mascom.be i have installed the eshop component. The front page shows without any problem, but when I click on one of the categories it show the following:
Fatal error: Call to a member function get() on a non-object in /home/joomla10/public_html/toyota/templates/purity_iii/tpls/blocks/masthead.php on line 17
This happened after I installed NL and FR languages. I checked masthead.php and this is line 17:
$mast_title = $activemenu->params->get (‘masthead-title’);But I’m not even using masthead on my website, the banner on top is JA slideshow. Is this an issue for this forum or should I address the developper of the eshop component?
Can someone help me with this?
thanks!
MichielSaguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 6, 2014 at 4:16 am #554354Hi Michiel,
There maybe conflict with your 3rd party extension installed on your site. If you’re not using masthead block, you can remove it via file: templatespurity_iiitplsblocksheader.php
At the end of this file, remove / comment this line of code:
[PHP]
<?php $this->loadBlock (‘masthead’) ?>
[/PHP]den_dhaeze Friend
den_dhaeze
- Join date:
- November 2014
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
November 6, 2014 at 8:23 am #554376Hi Saguaros,
thanks for replying. I did what you asked and now I can access the page. But now I get a couple of warnings:
right underneath the navigation I see this:
<blockquote>Warning: in_array() expects parameter 2 to be array, null given in /home/joomla10/public_html/toyota/plugins/system/t3/includes/menu/megamenu.php on line 97
Warning: in_array() expects parameter 2 to be array, null given in /home/joomla10/public_html/toyota/plugins/system/t3/includes/menu/megamenu.php on line 97</blockquote>
and in the footer this warning shows up a couple of times:
<blockquote>Warning: in_array() expects parameter 2 to be array, null given in /home/joomla10/public_html/toyota/plugins/system/t3/base-bs3/html/mod_menu/default.php on line 31</blockquote>
Somewhere I read that I should turn off display errors in php.ini , you think this would help in this case? And if so, where can i find this file (is it accesible with FTP?) and what/where should i add?
thanks,
Michil
den_dhaeze Friend
den_dhaeze
- Join date:
- November 2014
- Posts:
- 5
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
-
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by den_dhaeze 10 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum