Upgraded to 1.0.3 and getting PHP Errors
Posted: 18 February 2011 04:19 PM   [ Ignore ]
Wallflower
Avatar
Rank
Total Posts:  13
Joined  2010-04-09

I recently upgraded to the latest version of SafeCracker 1.0.3 and since the update I am getting the following PHP errors when I try to access a SafeCracker template.

A PHP Error was encountered

Severity
Warning

Message
in_array() [function.in-array]Wrong datatype for second argument

Filename
libraries/safecracker_lib.php

Line Number
761 

and

Fatal error[] operator not supported for strings in /home/my_username/iamjustinlong.com/system_folder/expressionengine/third_party/safecracker/libraries/safecracker_lib.php on line 763 

Any ideas to fix this?

*Edit* I am running the latest build of EE 2.1.3.

[ Edited: 18 February 2011 04:22 PM by Justin Long ]
Profile
 
 
Posted: 18 February 2011 08:22 PM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Did you get from devot:ee or our site?

Profile
 
 
Posted: 18 February 2011 08:36 PM   [ Ignore ]   [ # 2 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Well, either way, can you re-download and update? I just included a hotfix for this bug. Same version number, just has that minor bugfix.

Profile
 
 
Posted: 18 February 2011 11:34 PM   [ Ignore ]   [ # 3 ]
Wallflower
Avatar
Rank
Total Posts:  13
Joined  2010-04-09

Thanks for the quick hot fix that fixed my install. I downloaded it from your site by the way.

Profile
 
 
Posted: 18 February 2011 11:50 PM   [ Ignore ]   [ # 4 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

There was a change in the first steps in 1.0.3, pls take a look: http://barrettnewton.com/safecracker/user_guide/entry_form/#section_first_steps

Profile