Title may not be clear but I'm using update_option($my_option, $new_order); and for some reason it would not work but if instead I change to update_option('my-option-name' $new_order); it works.
I check that $my_option has a value and 'my-option-name' exists and has some values on it.
Without digging more, is there any reason or cases where using a $variable may stop the update_option(), If so, how can be sorted.
Thanks
$variableis either not set or has a wrong value.