VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
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

php error : Undefined variable: bodyClass
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: php error : Undefined variable: bodyClass

php error : Undefined variable: bodyClass 31 Jul 2014 17:52 #5240

Hi,

i have this error

 
[31-Jul-2014 10:21:22 America/Denver] PHP Notice: Undefined variable: bodyClass in /home3/.../public_html/.../.../templates/jf_calla_exteriors/index.php on line 221


line 221 index.php :

<body class="body<?php echo $bodyClass; ?>">

  • Posts:2
  • xc
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: php error : Undefined variable: bodyClass 01 Aug 2014 03:43 #5243

you can put an extra code under
line 13
defined('_JEXEC') or die;

$bodyClass = '';

  • Posts:2017
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: php error : Undefined variable: bodyClass 03 Aug 2014 20:26 #5255

thanks, now it works fine

  • Posts:2
  • xc
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: php error : Undefined variable: bodyClass 04 Aug 2014 05:34 #5257

Solved!

  • Posts:2017
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.56 seconds

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.