Hello, I was creating a new form for submit content but this error appears when click on frontend view
Fatal error: Cannot use object of type stdClass as array in /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/load_user_info_gh.php on line 117
also my others forms stop working now and show that message.
I use:
ChronoForm 4.0 RC3.5.2
Joomla 2.5.9
php 5.2.17
What can i do?
Thanks!
Fatal error: Cannot use object of type stdClass as array in /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/load_user_info_gh.php on line 117
also my others forms stop working now and show that message.
I use:
ChronoForm 4.0 RC3.5.2
Joomla 2.5.9
php 5.2.17
What can i do?
Thanks!
Hi petunia,
I suggest that you delete the folder /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/ This will remove the action.
I'll have a look at the code but this hasn't been reported before so it may be because you are on PHP 5.2 rather than 5.3 or 5.4.
Bob
I suggest that you delete the folder /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/ This will remove the action.
I'll have a look at the code but this hasn't been reported before so it may be because you are on PHP 5.2 rather than 5.3 or 5.4.
Bob
I check and I have the folder load_user_info_gh
Just delete the event Load User Info [GH] in my forms and everything is working now.
Since I am on Shared Host I can´t upgrade my php version 😟 but is strange that before it was working but I start to create a submitcontent form and it crash.
Thanks for your help.
Just delete the event Load User Info [GH] in my forms and everything is working now.
Since I am on Shared Host I can´t upgrade my php version 😟 but is strange that before it was working but I start to create a submitcontent form and it crash.
Thanks for your help.
Hi Petunia,
I'm not sure why it would suddenly crash like that unless you were using the Get User Info action in your form.
Check with your web host about upgrading PHP - 5.2 is now well out of date.
Bob
I'm not sure why it would suddenly crash like that unless you were using the Get User Info action in your form.
Check with your web host about upgrading PHP - 5.2 is now well out of date.
Bob
Hello
I'm facing the same problem!!!
I'm using chronoforms 4 RC3.5.1 with success for about 5 months with no problems until yesterday.
This happened suddenly and i didn't change anything!!!
I restore to previous backups and nothing changes!!!
The strange is that the form for some users working and for others not?
When i disable the load user info it shows the form but at the submit botton shows fatal error....
Is any idea how to fix this?
thank you very much
I'm facing the same problem!!!
I'm using chronoforms 4 RC3.5.1 with success for about 5 months with no problems until yesterday.
This happened suddenly and i didn't change anything!!!
I restore to previous backups and nothing changes!!!
The strange is that the form for some users working and for others not?
When i disable the load user info it shows the form but at the submit botton shows fatal error....
Is any idea how to fix this?
thank you very much
Hi foivos,
Exactly what error do you get?
What version of PHP is your site using?
Bob
Exactly what error do you get?
What version of PHP is your site using?
Bob
thank you for your reply
Fatal error: Cannot use object of type JObject as array in /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/load_user_info_gh.php on line 117
PHP version 5.3.10
From my server company said that they didn't make any changes.
I think there is a conflict with k2 because if a user has already upload an article can't use the form (it receives this fatal error).
Fatal error: Cannot use object of type JObject as array in /public_html/administrator/components/com_chronoforms/form_actions/load_user_info_gh/load_user_info_gh.php on line 117
PHP version 5.3.10
From my server company said that they didn't make any changes.
I think there is a conflict with k2 because if a user has already upload an article can't use the form (it receives this fatal error).
Hello again!!
After many tries to solve my problem and with no background to php i delete the line 117 and my form works again like a charm!!! i tested it many times with different user.
I delete the next line
$user['cfu_profile'][$f] = $data['profile.'.$f]->profile_value;
So my next question is if this brings about a new problem to my form?
Thank you
After many tries to solve my problem and with no background to php i delete the line 117 and my form works again like a charm!!! i tested it many times with different user.
I delete the next line
$user['cfu_profile'][$f] = $data['profile.'.$f]->profile_value;
So my next question is if this brings about a new problem to my form?
Thank you
Hi foivos,
It will only cause a problem if you are using the User Profiles in Joomla! 2.5+
Bob
It will only cause a problem if you are using the User Profiles in Joomla! 2.5+
Bob
I'm not using user profile plugin so i think i'm ok!!!
Thank you for your reply.
Thank you for your reply.
Hi,
I couldn't replicate the Fatal Error - running on Joomla! 3.0.3 with PHP 5.3.5 :-(
I did find a related problem if the User Profile plug-in is not enabled. Hopefully this will also fix the Fatal Error in some cases.
The updated file is on my site here
Bob
I couldn't replicate the Fatal Error - running on Joomla! 3.0.3 with PHP 5.3.5 :-(
I did find a related problem if the User Profile plug-in is not enabled. Hopefully this will also fix the Fatal Error in some cases.
The updated file is on my site here
Bob
This topic is locked and no more replies can be posted.