Closed (fixed)
Project:
Mobile Codes
Version:
7.x-2.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2011 at 15:09 UTC
Updated:
1 Sep 2012 at 15:51 UTC
Enabled the module, allowed the filter, used the filter and saved the page... but getting fatal errors like this:
PHP Fatal error: __clone method called on non-object in /data-store/www/sites/all/modules/mobile_codes/mobile_codes.module on line 187
Happened on the latest stable version but also on the dev which I tried just afterwards.
Comments
Comment #1
FreeFox commentedI second this however it's another line.
PHP Fatal error: __clone method called on non-object in .../sites/all/modules/mobile_codes/mobile_codes.module on line 177
Comment #2
FreeFox commentedComment #3
ethantSame problem. Module is rendered unusable while this issue remains.
Comment #4
francois o commentedsubscribing
Same problem different line too:
Fatal error: __clone method called on non-object in /xxxx/sites/all/modules/mobile_codes/mobile_codes.module on line 172
Comment #5
FreeFox commentedTried again today on 7.x-2.x-dev of 2011-Jun-07. Problem is still there, for me on line 172 now.
Could the maintainer have a look at this please?
Thanks in advance
Comment #6
drwits commentedalso getting this error...
didn't get it in d6.. only d7
trying to get the url in a custom module "theme('mobilecode', $final_url, array('#preset' => 'large'));"
again this worked in d6
thoughts?
thanks a bunch
Comment #7
clemens.tolboomI'm just using the input filter.
Zapping the clone word removed my white screen :(
Comment #8
tky commentedI have the same error code while I tried to put similar code in my tpl.php and views php field:
theme('mobilecode', $final_url, array('#preset' => 'large'));Any clue?
Comment #9
socialnicheguru commentedi had to clear my cache then this went away
Edit:
clearing cache did not solve it
clone is called on lines 173 and 179. I am not sure if the ctools function returns an object in this case and thus clone error.
for now I removed "clone". I don't know what effect that might have
Edit2:
this happened for me when I tried to a link field in my content type and then attempted to use 'mobile codes" as the display type
Edit 3:
I noticed I got this error when I placed a CCK link into my node and used mobile code as a display in manage display.
Comment #10
decipheredFixed and committed.
Comment #12
aze2010 commentedHi Folks,
commited? My D6 Version got this problem, too. No fixing?
Please help us.
Thank you
Report:
"stderr: PHP Fatal error: __clone method called on non-object" .... "on line 187"
Comment #13
FreeFox commentedAlthough it was in D7 I had the error again but after I installed the dev version and cleared all caches the error was gone so ... try to clear all caches (http://www.yourdomain.be/admin_menu/flush-cache)
Hope this helps