{"id":18791936,"date":"2026-01-20T10:05:22","date_gmt":"2026-01-20T10:05:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/causing-php-warnings\/"},"modified":"2026-01-20T10:05:22","modified_gmt":"2026-01-20T10:05:22","slug":"causing-php-warnings","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/causing-php-warnings\/","title":{"rendered":"causing PHP warnings"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hello,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019m experiencing a PHP warning issue in the WordPress admin that appears to be caused by JetEngine \/ JetPlugins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When the plugin is <strong>active<\/strong>, the following warnings are displayed in the admin area.<br \/>As soon as I <strong>disable JetEngine \/ JetPlugins<\/strong>, the warnings disappear completely and everything works as expected.<strong>Error messages<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Warning: Attempt to read property \"post_status\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2309 Warning: Attempt to read property \"post_status\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2313 Warning: Attempt to read property \"post_status\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2319 Warning: Attempt to read property \"post_status\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2323 Warning: Attempt to read property \"ID\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2327 Warning: Attempt to read property \"post_status\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2331 Warning: Attempt to read property \"ID\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2336 Warning: Attempt to read property \"ID\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2340 Warning: Attempt to read property \"ID\" on null in \/var\/www\/webroot\/ROOT\/wp-admin\/includes\/template.php on line 2345 <\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Additional info<\/strong><\/p>\n\n\n\n<ul>\n<li>WordPress: latest version<\/li>\n\n\n\n<li>Elementor: active<\/li>\n\n\n\n<li>PHP: 8.3<\/li>\n\n\n\n<li>Theme: Hello Theme<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It looks like the plugin is trying to access a post object that is <code>null<\/code> in the admin template, which causes these warnings.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Could you please check if this is a known compatibility issue or advise how to fix it?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance for your support.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Best regards,<br \/>Ivo<\/p>\n","protected":false},"template":"","class_list":["post-18791936","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18791936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18791936\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18791936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}