[wp-trac] [WordPress Trac] #18310: xml-rpc posting returns Empty delimiter error

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 1 13:56:42 UTC 2011


#18310: xml-rpc posting returns Empty delimiter error
--------------------------+------------------------------
 Reporter:  docfish       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  3.2.1
 Severity:  major         |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by ericmann):

 I'd want to look at that a bit deeper.  Your fix would remove the error,
 but wouldn't fix the underlying problem.

 In this case, `$file` is an element returned directly from
 `$wpdb->get_results()`.  If it contains a null value, then something else
 is going wrong when attachments are being ''inserted'' into the database.
 I'd want to see what exactly `get_results()` is returning when this error
 happens and fix the cause of that rather than apply a bandaid.

 `$file->guid` shouldn't be empty ...

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


More information about the wp-trac mailing list