• ojasvi1195

    (@ojasvi1195)


    As soon as we installed Polylang, there seems to be some problem. The homepage suddenly shows: This page doesn’t seem to exist.

    The Edit section displays:

    Warning: Attempt to read property “ID” on null in /home/6/b/businessaccessin/www/wp-content/plugins/polylang/admin/view-translations-post.php on line 59

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello,

    The Polylang error “Warning: Attempt to read property ‘ID’ on null” can occur when Polylang expects a valid ID property for an object, but receives a null value instead. This can happen if another plugin or the theme creates an object that should have an ID property, but does not define it properly, resulting in a null value for that object. When Polylang tries to read the ID property of that object, it triggers the error.

    You should switch to a default theme and deactivate all plugins, mu-plugins, custom code except Polylang. You shouldn’t have the error anymore.

    Then activate your parent theme, child theme, plugins one by one until you reproduce the error.

    Plugin Author Chouby

    (@chouby)

    Hello,

    This warning is strange because it could occur in the case where we got a post translation ID but this post doesn’t exist in DB. Anyway we will make sure that it will be removed in version 3.6. For your information: https://github.com/polylang/polylang/pull/1439

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Polylang Warning, Home Page Issue’ is closed to new replies.