- Posts: 5
COMMUNITY FORUM
Undefined property: stdClass::$imagenone
- Stig Engdal
-
Topic Author
- Offline
- New Member
Less
More
13 years 6 months ago #57397
by Stig Engdal
Undefined property: stdClass::$imagenone was created by Stig Engdal
Is getting this error on k2 in items on the front page
Notice: Undefined property: stdClass::$imagenone in /home5/exceedgu/public_html/components/com_k2/helpers/utilities.php on line 149
How can i get this error to go away?
im in joomla 1.7 and the newest k2 installed
Notice: Undefined property: stdClass::$imagenone in /home5/exceedgu/public_html/components/com_k2/helpers/utilities.php on line 149
How can i get this error to go away?
im in joomla 1.7 and the newest k2 installed
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
13 years 6 months ago #57398
by william white
Replied by william white on topic Re: Undefined property: stdClass::$imagenone
If the site is working properly, turn error reporting off. This is a notice
Please Log in or Create an account to join the conversation.
- Stig Engdal
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
13 years 5 months ago #57399
by Stig Engdal
Replied by Stig Engdal on topic Re: Undefined property: stdClass::$imagenone
how can i turn it off? cant find it
Please Log in or Create an account to join the conversation.
- Daniel Greig
-
- Offline
- New Member
Less
More
- Posts: 1
12 years 8 months ago - 12 years 8 months ago #57400
by Daniel Greig
Replied by Daniel Greig on topic Re: Undefined property: stdClass::$imagenone
Submitting a fix to k2 for this.
For anyone else who happens on the thread with this error.
In
/components/com_k2/helpers/utilities.php
there are multiple lines that look like this:
$item->image = $item->$image;
They should be this:
if($image != 'imagenone')
{
$item->image = $item->$image;
}
Replacing those should remove the notices (and hopefully make things work better.
For anyone else who happens on the thread with this error.
In
/components/com_k2/helpers/utilities.php
there are multiple lines that look like this:
$item->image = $item->$image;
They should be this:
if($image != 'imagenone')
{
$item->image = $item->$image;
}
Replacing those should remove the notices (and hopefully make things work better.
Please Log in or Create an account to join the conversation.
- Skip Nelson
-
- Offline
- New Member
Less
More
- Posts: 1
12 years 7 months ago #57401
by Skip Nelson
Replied by Skip Nelson on topic Re: Undefined property: stdClass::$imagenone
Made the edit as suggested & uploaded the revised .php. Rebuilt & published article with error, but no change. Amy ideas?
Please Log in or Create an account to join the conversation.
- Peter
-
- Offline
- New Member
Less
More
- Posts: 1
12 years 3 months ago #57402
by Peter
Replied by Peter on topic Re: Undefined property: stdClass::$imagenone
Hi all am new to the community but had been using K2 for some time.
Did this issue ever get resolved officially coz am getting lots of website with this problem in google.
Did this issue ever get resolved officially coz am getting lots of website with this problem in google.
Please Log in or Create an account to join the conversation.