PHP Strict Standards: Only variables should be assigned by reference
-
I am using the plugin with WordPress v.4.0 and php 5.4
While developing using debug.log I got thisPHP Strict Standards: Only variables should be assigned by reference in /wp-content/plugins/custom-permalinks/custom-permalinks.php on line 294Changing this
$post = &get_post($id);to this
$post = get_post($id);fixed the issue.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘PHP Strict Standards: Only variables should be assigned by reference’ is closed to new replies.