• I am using the plugin with WordPress v.4.0 and php 5.4
    While developing using debug.log I got this

    PHP Strict Standards: Only variables should be assigned by reference in /wp-content/plugins/custom-permalinks/custom-permalinks.php on line 294

    Changing this

    $post = &get_post($id);

    to this

    $post = get_post($id);

    fixed the issue.

    https://ww.wp.xz.cn/plugins/custom-permalinks/

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.