Title: PHP Notice: Only variables should be passed by refer
Last modified: November 6, 2020

---

# PHP Notice: Only variables should be passed by refer

 *  Resolved [CarolineElisa](https://wordpress.org/support/users/carolineelisa/)
 * (@carolineelisa)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-only-variables-should-be-passed-by-refer/)
 * In the debug log I see:
 * `[06-Nov-2020 15:52:03 UTC] PHP Notice: Only variables should be passed by reference
   in ~/wp-content/plugins/makewebbetter-hubspot-for-woocommerce/admin/class-hubwoo-
   admin.php on line 2359`
 * Is this an issue?
 * Thanks
    -  This topic was modified 5 years, 5 months ago by [CarolineElisa](https://wordpress.org/support/users/carolineelisa/).
      Reason: hide domain
    -  This topic was modified 5 years, 5 months ago by [CarolineElisa](https://wordpress.org/support/users/carolineelisa/).

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

 *  Plugin Author [MakeWebBetter](https://wordpress.org/support/users/makewebbetter/)
 * (@makewebbetter)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-only-variables-should-be-passed-by-refer/#post-13632243)
 * Hi Caroline,
 * Thankyou for using integration.
 * That is not an issue with the functionality of the plugin. The plugin would work
   fine.
    It is just a PHP notice but still should be taken into consideration. 
   So, thank you for bringing this to our attention.
 * We will fix this in the next version of our plugin. You can still use the plugin
   without any problem.
 * Regards
 *  Thread Starter [CarolineElisa](https://wordpress.org/support/users/carolineelisa/)
 * (@carolineelisa)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-only-variables-should-be-passed-by-refer/#post-13707861)
 * Thanks. I also see lots of:
 * `PHP Notice: Trying to access array offset on value of type bool in ~/wp-content/
   plugins/makewebbetter-hubspot-for-woocommerce/public/class-hubwoo-public.php 
   on line 616`

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

The topic ‘PHP Notice: Only variables should be passed by refer’ is closed to new
replies.

 * ![](https://ps.w.org/makewebbetter-hubspot-for-woocommerce/assets/icon-128x128.
   png?rev=2294178)
 * [MWB HubSpot for WooCommerce - CRM, Abandoned Cart, Email Marketing, Marketing Automation & Analytics](https://wordpress.org/plugins/makewebbetter-hubspot-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/makewebbetter-hubspot-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/makewebbetter-hubspot-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/makewebbetter-hubspot-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/makewebbetter-hubspot-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/makewebbetter-hubspot-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [CarolineElisa](https://wordpress.org/support/users/carolineelisa/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/php-notice-only-variables-should-be-passed-by-refer/#post-13707861)
 * Status: resolved