Title: Undefined variable: author_id
Last modified: June 19, 2020

---

# Undefined variable: author_id

 *  Resolved [bgcollado](https://wordpress.org/support/users/bgcollado/)
 * (@bgcollado)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-author_id/)
 * Hi,
    I’m receiving this error and it can be producing errors 502 in my server.
 * PHP Notice: Undefined variable: author_id in …/wp-content/plugins/dokan-lite/
   includes/functions.php on line 3266
 * Can you help me please?
    Thanks,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-author_id%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-author_id/#post-13014288)
 * Hello [@bgcollado](https://wordpress.org/support/users/bgcollado/) ,
 * Sorry for the inconvenience.
 * You did not mention where and how you are getting this error. Please let me know
   further details on which page or which functionality is giving you this error.
 * Thank you.
 *  Thread Starter [bgcollado](https://wordpress.org/support/users/bgcollado/)
 * (@bgcollado)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-author_id/#post-13018065)
 * Hi,
    I couldn’t to detect exactly when it be producing. The error is showing 
   in debug.log file. The 502 errors started when I installed your plugin, for this
   reason I think that it can be the cause. Tell me how can I help you. Thanks,
 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-author_id/#post-13032812)
 * Hello [@bgcollado](https://wordpress.org/support/users/bgcollado/) ,
 * This report is quite unusual. I suspect it can be a plugin conflict issue. Please
   try after deactivating all plugins except Dokan and WooCommerce. If the problem
   continues without other plugins let me know.
 * Thank you.

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

The topic ‘Undefined variable: author_id’ is closed to new replies.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/undefined-variable-author_id/#post-13032812)
 * Status: resolved