• Only on the 404 page, I get 2 errors:

    `Warning: Attempt to read property “ID” on null in /home/customer/www/beta.speechworks.net/public_html/wp-content/plugins/wp-easycart/inc/classes/core/ec_page_options.php on line 13

    Warning: Attempt to read property “post_type” on null in /home/customer/www/beta.speechworks.net/public_html/wp-content/plugins/wp-easycart/wpeasycart.php on line 5956

    Current PHP v8.0.

    What is causing this? We will not go to PRO until this is resolved. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ecommercecart

    (@ecommercecart)

    Try going to wordpress settings -> permalinks and make sure its on Post name method.

    Also, our diagnostics panel has a few links to try resetting permalinks, worth running once you have proper permali k structure setup.

    Thread Starter twowithink

    (@twowithink)

    Hi,

    I’m not sure I was clear enough in my description. I’m not referring to getting 404 errors on WPEasyCart pages. I’m getting the following warnings on any general 404 page – Example: https://beta.speechworks.net/team/hugh-asher/

    `Warning: Attempt to read property “ID” on null in /home/customer/www/beta.speechworks.net/public_html/wp-content/plugins/wp-easycart/inc/classes/core/ec_page_options.php on line 13

    Warning: Attempt to read property “post_type” on null in /home/customer/www/beta.speechworks.net/public_html/wp-content/plugins/wp-easycart/wpeasycart.php on line 5956

    I was running PHP v8.0, and the notices go away on PHP v7.4!

    So the WPEasyCart plugin is not PHP 8.0 compatible???

    Plugin Contributor ecommercecart

    (@ecommercecart)

    Should work fine on PHP 8, I’m running PHP 8 on a lot of sites already… hard to tell really without looking though at the full setup here.

    I am getting a 404 error on that page, and they are warnings which must be on somehow with PHP.

    I’d’ say to probably email support at [email protected] and I can try to look at it. Normally we get tickets with secure login info, but we would likely need to login and look.

    happy to help get it going though..

    thanks

    Thread Starter twowithink

    (@twowithink)

    Support email with access just sent.

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Property “ID” and “Post Type” Warnings on 404 Page’ is closed to new replies.