Title: PHP Error
Last modified: January 28, 2022

---

# PHP Error

 *  Resolved [ads](https://wordpress.org/support/users/ecomturbo/)
 * (@ecomturbo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/)
 * Hi,
 * We are constantly getting this PHP error:
 * E_WARNING Undefined array key “orderby” BetterDocs /wp-content/plugins/betterdocs/
   public/betterdocs-shortcodes.php: 511
 * We are on WP 5.9 and PHP 8.
 * Could you please advise how to solve this. Cheers, ecomturbo

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

 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15305843)
 * Hi [@ecomturbo](https://wordpress.org/support/users/ecomturbo/) ,
 * I could not able to reproduce this issue on my end.
    May I know which shortcode
   you’re using on your page? Also could you please share the screenshot of BetterDocs
   settings from **Dashboard > BetterDocs > Settings**
 * Besides that, I will talk to our dev team regarding this. I will get back to 
   you with an update don’t worry.
 * Thanks for your patience!
 *  Thread Starter [ads](https://wordpress.org/support/users/ecomturbo/)
 * (@ecomturbo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15306201)
 * Hello [@abidhasan112](https://wordpress.org/support/users/abidhasan112/),
 * Appreciate your prompt reply!
 * – We are using: [betterdocs_category_box column=”3″ terms=”term_ID, term_ID”]
   and
    [betterdocs_search_form] – Here are our settings: [https://www.awesomescreenshot.com/image/21134040?key=cf01b3831727ccee56ac251be61bef90](https://www.awesomescreenshot.com/image/21134040?key=cf01b3831727ccee56ac251be61bef90)
 * Please note that we are running on PHP 8.0. We should update soon to 8.1.
 * Thanks for your help!
 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15306353)
 * Hi [@ecomturbo](https://wordpress.org/support/users/ecomturbo/) ,
 * Thanks for sharing the details and instructions with us.
    Now I’ve successfully
   reproduced the issue on my end. I’ve added this as a bug list on our end and 
   this will be fixed as soon as possible don’t worry.
 * Thank you!
 *  Thread Starter [ads](https://wordpress.org/support/users/ecomturbo/)
 * (@ecomturbo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15306445)
 * [@abidhasan112](https://wordpress.org/support/users/abidhasan112/)
 * Seriously guys you rock and roll. Thank you!
 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15318949)
 * Hi [@ecomturbo](https://wordpress.org/support/users/ecomturbo/) ,
 * We’ve just released a new update where we fixed your mentioned issue.
    So please
   make sure to update **BetterDocs** plugin to get this fixed.
 * Cheers!

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/betterdocs/assets/icon-256x256.png?rev=2953105)
 * [BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor](https://wordpress.org/plugins/betterdocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterdocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterdocs/)
 * [Active Topics](https://wordpress.org/support/plugin/betterdocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterdocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterdocs/reviews/)

## Tags

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

 * 5 replies
 * 2 participants
 * Last reply from: [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/php-error-507/#post-15318949)
 * Status: resolved