• My page is not indexed on google anymore for some reason. When I tried to locate the problem I wanted to access the Plugin page, but got the following alert:

    Warning: Undefined variable $plugins in /customers/e/8/0/detsimrer.dk/httpd.www/wp-content/plugins/wp-compat/wp-compat.php on line 88 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /customers/e/8/0/detsimrer.dk/httpd.www/wp-admin/includes/class-wp-plugins-list-table.php:313 Stack trace: #0 /customers/e/8/0/detsimrer.dk/httpd.www/wp-admin/plugins.php(553): WP_Plugins_List_Table->prepare_items() #1 {main} thrown in /customers/e/8/0/detsimrer.dk/httpd.www/wp-admin/includes/class-wp-plugins-list-table.php on line 313

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

Viewing 1 replies (of 1 total)
  • Moderator threadi

    (@threadi)

    The message refers to a plugin called “wp-compat” which is unknown to the WordPress repository and to me. According to https://ww.wp.xz.cn/support/topic/wp-compat-php-flagged-as-known-threat/, it is probably a suspicious file, presumably from a hack.

    Your statement that your website is not indexed made me look a little further. Your site could well be indexed, but the SitemapXML, which is read by search engine bots, contains URLs that do not exist. When these are called up, a 404 error occurs. So something is indeed wrong with your project—it has probably been hacked.

    My recommendation: first read this article:

    FAQ My site was hacked

    After that I would recommend checking whether you still have a clean backup. If necessary, ask the support of your hoster. If so, delete all files and the database and restore the backup. Then change all access data in the hosting (also FTP, hosting login ..).

    So if you still have a clean backup of your website, use that.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.