Support » Plugins » Hacks » add_post_meta fails with string variables

  • hi there – I#m kind of going crazy with a small problem.
    In my plugin i call update_post_meta($post_id, $field['id'], $new); – it’s working fine on one machine. but on the other machine the string in ´$new´ won’t be added to the database. It seems like no strings (ASCII) from a variable are added. If I change the value to an integer or just adding a string like this ‘string’ – it’s all fine.

    Running WordPress 3.1.2 fresh installation on mySQL 5.1.41
    Any suggestions?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add_post_meta fails with string variables’ is closed to new replies.