• jeroenvip

    (@hieronymusdesign)


    Hey guys,

    First of all thank you for reading this post. I am not sure if this is the right section but gonna give it a shot.

    I got a XMl file with some data i want to post as metadata. but for some reason its not working.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    The last part is not working. I get the error message:

    Fatal error: Uncaught exception ‘Exception’ with message ‘Serialization of ‘SimpleXMLElement’ is not allowed’ in…

    Exception: Serialization of ‘SimpleXMLElement’ is not allowed in…

    Anyone know what is going wrong. Its 4am in the morning and i really can’t find the solution to this problem. Its the finale piece of the puzzle before i can go online.

    Thank you very much in advance for you time and effort.

    Hieronymus

Viewing 1 replies (of 1 total)
  • Thread Starter jeroenvip

    (@hieronymusdesign)

    Hmmm… what a good morning can do to people. Solution add

    mysql_real_escape_string(); to the strings.

Viewing 1 replies (of 1 total)
  • The topic ‘update_post_meta and SimpleXMLElement url, etc’ is closed to new replies.