VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

Problem in site ...index.php/component/k2/item/..
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Problem in site ...index.php/component/k2/item/..

Problem in site ...index.php/component/k2/item​/.. 09 Sep 2016 15:55 #9398

Hello everyone !! I hope all you are in good mood !
Today I check my web site with Error Report Maximum and detect this other issue when I open the page from Home to www...index.php/component/k2/item/...
I get this in top of the page
Notice: Trying to get property of non-object in /home/mercamari/public_html/templates/jf_salina/index.php on line 36

Thanks a lot in advanced for all your best efforts for help !!


  • Posts:11
  • cuesta
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Problem in site ...index.php/component/k2/item​/.. 12 Sep 2016 02:54 #9406

Can you please send me your website url and the super admin access via private message system?

joomfreak

  • Posts:2764
  • isupport
  • Moderator
  • NOW ONLINE
  • Karma: 0

Re: Problem in site ...index.php/component/k2/item​/.. 13 Sep 2016 03:50 #9415

Hello ! Thanks a lot for your better efforts.

I see the code and in my searchs I think that $pageclass not exists in active variables.
But I don´t expert ...

// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$sitename = $app->get('sitename');
$menu = $app->getMenu();
$active = $menu->getItem($itemid);
$font = $this->params->get('googleFont');
 
<--! Line 36 --> if($menu->getParams( $active->id )->get( 'pageclass_sfx' )) {
$pageClass = $menu->getParams( $active->id )->get( 'pageclass_sfx' );
} else {
$pageClass = '';
}
 
 



Thanks a lot !! again !!


  • Posts:11
  • cuesta
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.89 seconds
Wednesday 26 June 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.