Active
Project:
Ar-PHP
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2010 at 03:16 UTC
Updated:
9 Nov 2010 at 11:26 UTC
Jump to comment: Most recent file
I got this error :
Fatal error: Call to a member function setMode() on a non-object in /sites/all/modules/arphp/modules/arphp_date/arphp_date.module on line 134
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | arphp_date-813026.patch | 682 bytes | homoludens |
Comments
Comment #1
Marat commentedAlso I got these errors:
Comment #2
homoludens commentedI changed lines 133 and 134 from
to
based on examples on: http://www.ar-php.org/Online/live-demo.php.
Didn't yet tested across the site, but I have lost the errors
Comment #3
homoludens commentedComment #4
rami.sedhom commentedI got this error when I tried to see the Date Setting (admin/settings/date-time)
Fatal error: Call to a member function setMode() on a non-object in /home2/lekaaorg/public_html/emanwanour/sites/all/modules/arphp/modules/arphp_date/arphp_date.module on line 787
Comment #5
rami.sedhom commentedI had changed line 780 from:
to:
and line 787 from:
to:
This is in addition to the changes recommended by homoludens in comment #2. Now, no more errors with me.
BUT, it doesn't work unless I change lines 514 and 515 as well in the same way. Now it works with me.
Comment #6
majdi commentedHello,
I did the patch in #2 also I apply the changes in #5 , I start getting this error
This error because of the class arDate is included twice , i fix it by include the whole class in to this if statement
This is temporary solution until I find what is the problem