Title: Variable assignment error
Last modified: December 30, 2020

---

# Variable assignment error

 *  [pinal.shah](https://wordpress.org/support/users/pinalshah/)
 * (@pinalshah)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/variable-assignment-error/)
 * Hi,
 * I use your plugin to exclude some pages from the navigation menu.
 * I’m currently on WP 5.6 & PHP v 7.4.0. I’ve recently started seeing an error 
   on the admin end as well as frontend as below:
 * Notice: Only variables should be assigned by reference in /home1/todaysa2/public_html/
   tychesoftwares/staging/live/wp-content/plugins/exclude-pages/exclude_pages.php
   on line 92
 * Any help on fixing this would be appreciated.
 * Thanks,
    Pinal

The topic ‘Variable assignment error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/exclude-pages.svg)
 * [Exclude Pages](https://wordpress.org/plugins/exclude-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/exclude-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/exclude-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/exclude-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/exclude-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/exclude-pages/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pinal.shah](https://wordpress.org/support/users/pinalshah/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/variable-assignment-error/)
 * Status: not resolved