nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

Notice showing on the top of my site #109

Open JmanJman opened 2 years ago

JmanJman commented 2 years ago

Describe the bug Shows a notice only when not logged in To Reproduce Steps to reproduce the behavior:

  1. Go to Jmanstore.com

Expected behavior Notice on top of my site when not logged in

Screenshots Screenshot 2022-01-29 002032

System Status (you can copy paste the system status report from the plugin):

WordPress version: 5.9; NanoSupport version: 0.6.0; E-Commerce?: Disabled; Active Theme: Astra - 3.6.8; ; Debug mode: On; Multisite?: No; Site Language: en_US; Server: Apache; PHP Memory Limit: 256 MB; PHP version: 7.3.30; MySQL version: 5.7.26.

Additional context Notice: Trying to get property 'ID' of non-object in /var/www/wp-includes/class-wp-query.php on line 4121

Notice: Trying to get property 'post_title' of non-object in /var/www/wp-includes/class-wp-query.php on line 4123

Notice: Trying to get property 'post_name' of non-object in /var/www/wp-includes/class-wp-query.php on line 4125

mayeenulislam commented 2 years ago

Thank you for informing me. It's a known issue. But was mistakenly treated as a "won't fix" with #52

We will try to fix this on a future release inshaALLAH

For a temporary remedy, You can hide notices by disabling WP_DEBUG from wp-config.php

JmanJman commented 2 years ago

Ok, thanks for your help!