PHP Fatal error: Call-time pass-by-reference #4

Closed
ghost opened this Issue Oct 17, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@ghost

ghost commented Oct 17, 2012

Don't do &$meta outside of functions defs.

Do:
function save_field_wysiwyg(&$meta, $field, $old, $new)
Don't:
$this->save_field(&$meta, $field, $old, $new)
Do:
$this->save_field($meta, $field, $old, $new)

@DahmaniAdame

This comment has been minimized.

Show comment
Hide comment
@DahmaniAdame

DahmaniAdame Nov 7, 2012

Got the same problem!

Fatal error: Call-time pass-by-reference has been removed in /dummypath/wp-content/plugins/taxonomy-meta-master/taxonomy-meta.php on line 534

Any hack or fix to solve this?

Got the same problem!

Fatal error: Call-time pass-by-reference has been removed in /dummypath/wp-content/plugins/taxonomy-meta-master/taxonomy-meta.php on line 534

Any hack or fix to solve this?

rilwis added a commit that referenced this issue Nov 9, 2012

@rilwis rilwis closed this Nov 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment