[wp-trac] [WordPress Trac] #20246: When adding a url to video

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 15 20:23:20 UTC 2012


#20246: When adding a url to video
-----------------------------+-----------------------------
 Reporter:  dimitrov.adrian  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Media            |    Version:  3.3.1
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 It is on my 3.3.1 installation but i remmember the problem and from
 previous versions.

 Here is and error log output:

 {{{


 [15-Mar-2012 20:04:45] PHP Fatal error:  Uncaught exception 'Exception'
 with message 'Serialization of 'SimpleXMLElement' is not allowed' in
 /home/scifibgr/public_html/wp-includes/functions.php:1038
 Stack trace:
 #0 /home/scifibgr/public_html/wp-includes/functions.php(1038):
 serialize(Object(SimpleXMLElement))
 #1 /home/scifibgr/public_html/wp-includes/meta.php(60):
 maybe_serialize(Object(SimpleXMLElement))
 #2 /home/scifibgr/public_html/wp-includes/meta.php(127):
 add_metadata('post', 11436, '_oembed_a45174d...',
 Object(SimpleXMLElement))
 #3 /home/scifibgr/public_html/wp-includes/post.php(1492):
 update_metadata('post', 11436, '_oembed_a45174d...',
 Object(SimpleXMLElement), '')
 #4 /home/scifibgr/public_html/wp-includes/media.php(1204):
 update_post_meta(11436, '_oembed_a45174d...', Object(SimpleXMLElement))
 #5 /home/scifibgr/public_html/wp-includes/media.php(1278):
 WP_Embed->shortcode(Array, 'http://vbox7.co...')
 #6 [internal function]: WP_Embed->autoembed_callback(Array)
 #7 /home/scifibgr/public_html/wp-includes/media.php(1264):
 preg_replace_callback('| in /home/scifibgr/public_html/wp-
 includes/functions.php on line 1038

 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20246>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list