Magic-Fields 2 export post_type

233 views
Skip to first unread message

Peter

unread,
Feb 8, 2012, 6:58:03 AM2/8/12
to Magic Fields
Hello,

Grongatulations for this new version :)
Found a bug when exporting my new post_type:

Warning: unserialize() expects exactly 1 parameter, 2 given in .../wp-
content/plugins/magic-fields-2/admin/mf_admin.php on line 109

Warning: Cannot modify header information - headers already sent by
(output started at .../wp-content/plugins/magic-fields-2/admin/
mf_admin.php:109) in .../wp-content/plugins/magic-fields-2/admin/
mf_posttype.php on line 772

Warning: Cannot modify header information - headers already sent by
(output started at .../wp-content/plugins/magic-fields-2/admin/
mf_admin.php:109) in .../wp-content/plugins/magic-fields-2/admin/
mf_posttype.php on line 773

Wordpress 3.3.1
Magic-Fields 2.0.1

Best
Peter

Sifas

unread,
Feb 16, 2012, 4:06:56 PM2/16/12
to Magic Fields
I'm also having an issue with exporting custom post types. Getting the
following errors:

Warning: unserialize() expects exactly 1 parameter, 2 given in /../../
wp-content/plugins/magic-fields-2/admin/mf_admin.php on line 109

Warning: Cannot modify header information - headers already sent by
(output started at /../../wp-content/plugins/magic-fields-2/admin/
mf_admin.php:109) in /../../wp-content/plugins/magic-fields-2/admin/
mf_posttype.php on line 772

Warning: Cannot modify header information - headers already sent by
(output started at /../../wp-content/plugins/magic-fields-2/admin/
mf_admin.php:109) in /../../wp-content/plugins/magic-fields-2/admin/
mf_posttype.php on line 773

Can any one help with this bug?

Thanks!

Atsushi sugiyama

unread,
Apr 26, 2013, 5:27:50 AM4/26/13
to magic-...@googlegroups.com
/admin/mf_admin.php
line 109
$custom_taxonomy = unserialize($custom_taxonomy['arguments'],true);
no need for the parameters of this second probably
$custom_taxonomy = unserialize($custom_taxonomy['arguments']);

/admin/mf_posttype.php

line 941
unlink($filePath);
underbar is missing
unlink($file_path);

2012年2月17日金曜日 6時06分56秒 UTC+9 Sifas:
Reply all
Reply to author
Forward
0 new messages