Hey there,
I am working on a new project on my localhost, I changed wpforo config to set the whole site as a stand-alone forum as follow but I get the following error:
Warning: Attempt to read property "comment_count" on null in C:\xampp\htdocs\xxxxxxx\wordpress\wp-includes\general-template.php on line 3194
Warning: Attempt to read property "ID" on null in C:\xampp\htdocs\xxxxxxx\wordpress\wp-includes\post-template.php on line 674Warning: Attempt to read property "post_type" on null in C:\xampp\htdocs\xxxxxxx\wordpress\wp-includes\post-template.php on line 675
Warning: Attempt to read property "post_parent" on null in C:\xampp\htdocs\xxxxxxx\wordpress\wp-includes\post-template.php on line 728
class="-template-default page page-id- page-parent logged-in admin-bar no-customize-support wp-custom-logo ast-desktop ast-separate-container ast-two-container ast-no-sidebar astra-4.6.8 ast-single-post ast-inherit-site-logo-transparent ast-hfb-header wpf-default wpft-post wpf-auth wpfu-group-1 wpf-theme-2022 wpf-is_standalone-1 wpf-boardid-0 is_wpforo_page-1 is_wpforo_url-1 is_wpforo_shortcode_page-0 wpforo ast-normal-title-enabled astra-addon-4.6.4">
Does anyone know what might be causing this issue?
Thanks in advance.
Hi @olmo,
Something is wrong with your theme. I'd recommend change it. Also, make sure you only have the forum pages, there should not be other pages in your WordPress website.