Title: PHP Warnings
Last modified: August 17, 2023

---

# PHP Warnings

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/)
 * Hi, WP 6.3 and PHP 8.1.x.
 * **LOTS of Warnings:**
 * [17-Aug-2023 14:56:30 UTC] PHP Warning: Attempt to read property “post_name” 
   on null in /home/wp-content/plugins/betterdocs/includes/Core/Rewrite.php on line
   114
 * [17-Aug-2023 14:56:30 UTC] PHP Warning: Attempt to read property “post_name” 
   on null in /home/wp-content/plugins/betterdocs/includes/Core/PostType.php on 
   line 612
 * [17-Aug-2023 14:56:09 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 409
 * [17-Aug-2023 14:56:09 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 456
 * [17-Aug-2023 14:56:09 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 445
 * [17-Aug-2023 14:56:08 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 409
 * Thanks

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

 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16980901)
 * Downgraded to PHP 8.0.x but the warnings still appear. So it is not an PHP 8.1.
   x issue but a general one.
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16982386)
 * Those seem to appear when i DISABLE
 * Enable Built-in Documentation Page
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16982857)
 * Hi [@dimalifragis](https://wordpress.org/support/users/dimalifragis/),
   Greetings.
   Really sorry to hear that and also sorry for the delay in reaching you. Would
   you kindly confirm for us if you’re getting these PHP warnings using our latest
   version of BetterDocs 2.5.1? Thank you!
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16982874)
 * [@paulamit](https://wordpress.org/support/users/paulamit/) Hi,
 * NO: Version 2.5.1, WP 6.2.x and PHP 8.1.x but tried also PHP 8.0.x. No luck.
 * I don’t see 2.5.2 anywhere, 2.5.1 is what is listed here at WP.org
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16982982)
 * Hi again! [@dimalifragis](https://wordpress.org/support/users/dimalifragis/) 
   
   Thanks, for confirming. Yeah, I wanted to mention the version 2.5.1. However,
   Could you please try this updated version by downloading it from the below link?
   Updated version: [https://d.pr/f/RYaeZ9](https://d.pr/f/RYaeZ9)And let me know
   how it goes then, please. Thanks for your co-operation!
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983000)
 * [@paulamit](https://wordpress.org/support/users/paulamit/) This version shows
   only these:
 * [18-Aug-2023 11:31:34 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 405
 * [18-Aug-2023 11:31:34 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 452
 * [18-Aug-2023 11:31:34 UTC] PHP Warning: Attempt to read property “ID” on null
   in /home/wp-includes/link-template.php on line 441
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983022)
 * Hi, Sorry to hear that again. Are you using the BetterDocs pro version as well?
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983023)
 * nope. but those don’t point at betterdocs.
    -  This reply was modified 2 years, 9 months ago by [dimal](https://wordpress.org/support/users/dimalifragis/).
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983035)
 * Also trying to Save in General settings, i get a RED failed and:
 *     ```wp-block-code
       Object { code: "update_failed", message: "Something went wrong!", data: {…} }
   
       code: "update_failed"
   
       ​data: Object { status: 500 }
   
       ​message: "Something went wrong!"
   
       ​<prototype>: Object { … }settings.js:1:926286
       ```
   
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983041)
 * Okay. We need to investigate this again with our DEV team. Kindly, allow us time,
   I will get back to you soon with the update. 
   Thanks again! [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16983052)
 * [@paulamit](https://wordpress.org/support/users/paulamit/) no problem. Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16986365)
 * [https://drive.google.com/file/d/177orpCCp8NTiuX8uyGZieevzgYWHaN0L/view?usp=sharing](https://drive.google.com/file/d/177orpCCp8NTiuX8uyGZieevzgYWHaN0L/view?usp=sharing)
    -  This reply was modified 2 years, 9 months ago by [dimal](https://wordpress.org/support/users/dimalifragis/).
 *  Plugin Support [Pial](https://wordpress.org/support/users/iapial/)
 * (@iapial)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16986541)
 * Hello @dimalifragis
 * Extremely sorry for the delayed response please accept my apologies.
 * We have created a fix regarding the recent issues. Please kindly update BetterDocs
   from the below link
 * BetterDocs Dev: [https://d.pr/f/PHak27](https://d.pr/f/PHak27)
 * **After that please rest the permalink To rest the Permalink please check this
   video : [https://d.pr/v/lGOjg5](https://d.pr/v/lGOjg5)**
   And please check the
   BetterDocs custom category slug and the custom tag slug from WordPress Dashboard-
   > BetterDocs -> Settings -> General and make sure it’s not only category and 
   tag. For reference please check this screencast – [https://d.pr/v/kanMeB](https://d.pr/v/kanMeB)
   And please make sure to save the settings
 * After doing this please check the issue again.
   Again we apologize for the inconvenience
 * Let me know how it goes
 * Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16986697)
 * [@iapial](https://wordpress.org/support/users/iapial/) It goes much much better.
 * Still some issue: If
 * Enable Built-in Documentation Page
 * is **DISABLED**, the permalinks have a problem. The permalink of betterdocs page(
   after the home) is empty and those errors appear:
    1. [20-Aug-2023 11:45:09 UTC] PHP Warning: Undefined variable $docs_page_title 
       in /home/wp-content/plugins/betterdocs/views/widgets/breadcrumbs.php on line
       36
    2. [20-Aug-2023 11:45:09 UTC] PHP Warning: Undefined variable $docs_page_url in/
       home/wp-content/plugins/betterdocs/views/widgets/breadcrumbs.php on line 35
    3. [20-Aug-2023 11:45:09 UTC] PHP Warning: Undefined variable $li_classes in /home/
       wp-content/plugins/betterdocs/views/widgets/breadcrumbs.php on line 34
 * Flushing the permalinks in WP doesn’t fix that.
 * Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16986854)
 * ok, please ignore the above, somehow with the update is fixed now.
 * Many thanks

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

The topic ‘PHP Warnings’ 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/)

 * 15 replies
 * 3 participants
 * Last reply from: [dimal](https://wordpress.org/support/users/dimalifragis/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/php-warnings-165/#post-16986854)
 * Status: resolved