Assigning the return value of new by reference is deprecated
-
hey, i have an error in m ywordpress backend:
Deprecated: Assigning the return value of new by reference is deprecated in /home/www/…/wp-content/plugins/option-tree/includes/ot-meta-box-api.php on line 279
you should change
$ot_meta_box =& new OT_Meta_Box( $args );
to
$ot_meta_box = new OT_Meta_Box( $args );
- The topic ‘Assigning the return value of new by reference is deprecated’ is closed to new replies.