Title: PHP Warning when edit diagram
Last modified: May 11, 2017

---

# PHP Warning when edit diagram

 *  Resolved [it4life](https://wordpress.org/support/users/it4life/)
 * (@it4life)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-warning-when-edit-diagram/)
 * When edit existing diagram, Draw a diagram show a warning:
    _Strict standards:
   Only variables should be passed by reference in /var/www/wp-web/wp-content/plugins/
   drawit/drawit.php on line 401_
 * I think it related with [end](http://php.net/end) function.
 * Tested with: PHP5.6, PHP7.1

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/php-warning-when-edit-diagram/#post-9119844)
 * OK, thanks for the info. I’ll look into this.
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [9 years ago](https://wordpress.org/support/topic/php-warning-when-edit-diagram/#post-9135040)
 * Thanks, I’ve fixed this and will push the change in the next release.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning when edit diagram’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/drawit_9fd0dc.svg)
 * [DrawIt (draw.io)](https://wordpress.org/plugins/drawit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drawit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drawit/)
 * [Active Topics](https://wordpress.org/support/plugin/drawit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drawit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drawit/reviews/)

## Tags

 * [dev](https://wordpress.org/support/topic-tag/dev/)

 * 2 replies
 * 2 participants
 * Last reply from: [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/php-warning-when-edit-diagram/#post-9135040)
 * Status: resolved