[wp-trac] [WordPress Trac] #12930: Unserialize error?

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 9 19:56:04 UTC 2010


#12930: Unserialize error?
--------------------------+-------------------------------------------------
 Reporter:  ipstenu       |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:         
 Severity:  normal        |   Resolution:  invalid
 Keywords:  3.0-beta      |  
--------------------------+-------------------------------------------------

Comment(by ipstenu):

 I went to some examples for you:

 {{{
 Warning: unserialize() expects parameter 1 to be string, array given in
 /home/ipstenu/public_html/blog/wp-
 content/plugins/journalpress/jpconfig.php  on line 696

 Warning: unserialize() expects parameter 1 to be string, array given in
 /home/ipstenu/public_html/blog/wp-
 content/plugins/journalpress/jpconfig.php on line 703

 Warning: unserialize() expects parameter 1 to be string, array given in
 /home/ipstenu/public_html/blog/wp-
 content/plugins/journalpress/jpconfig.php on line 709
 }}}

 And I saw sivel's comment. Changing unserialize to maybe_unserialize fixes
 everything.

 Interesting, that. I'm passing it on to the devs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12930#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list