The Big Spring Sale! Up to 50% off!

Warning: Attempt to read property "ID" on null

blum.felix
6 Posts
blum.felix posted this 21 March 2021
Report a bug

Dear Nicepage Support Team,

I have the following problem when the nicepage theme is activated:

I get this message at the top of my page within the body when I try to open a page on my site that does not exist (404):

Warning: Attempt to read property "ID" on null in ...directory.../wp-content/plugins/nicepage/includes/class-np-data-product.php on line 313

Please look into this. It does not appear when I have the NP plugin deactivated.

I only use the plugin to create pages. I don't have a NP generated theme activated.

Thanks in advance,
Felix

Dear Nicepage Support Team, I have the following problem when the nicepage theme is activated: I get this message at the top of my page within the body when I try to open a page on my site that does not exist (404): Warning: Attempt to read property "ID" on null in ...directory.../wp-content/plugins/nicepage/includes/class-np-data-product.php on line 313 Please look into this. It does not appear when I have the NP plugin deactivated. I only use the plugin to create pages. I don't have a NP generated theme activated. Thanks in advance, Felix
Vote to pay developers attention to this features or issue.
2 Replies
Order By: Standard | Newest
blum.felix
6 Posts
blum.felix posted this 21 March 2021

UPDATE:
This only happens when my Webspace runs PHP 8!
It does not appear when running PHP 7.4

Nicepage Version 3.9.3

UPDATE: This only happens when my Webspace runs PHP 8! It does not appear when running PHP 7.4 Nicepage Version 3.9.3

Last edited 21 March 2021 by blum.felix

Support Team
Support Team posted this 22 March 2021

Hi Felix,

As this is only a warning and it does not affect the set functionality, you can switch off the warnings on the frontend in your PHP settings.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Felix, As this is only a warning and it does not affect the set functionality, you can switch off the warnings on the frontend in your PHP settings. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments