• Hey there,

    We have had some weirdness with a clients site, the Sucuri plugin appears to have auto generated a page for each alert, they show the standard alert info as you get via email.
    There are over 800 of them, all pages with individual alerts on them!

    We have now deleted them and reinstalled the plugin so hopefully that fixes the issue.

    If anyone has details on this we would be most grateful as it is very worrying!

    cheers,

    Duncan.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I cannot reproduce this issue.

    I have never written code to explicitly create a post from the plugin, in fact, searching for any instance of _post in the code [1] returns nothing related to the “create” or “insert” functions which are the ones used to insert data into the posts table. Even more, the plugin doesn’t stores any data in the database, instead it uses flat files to prevent it from messing around with the database.

    I believe you have another plugin installed that is intercepting emails through the wp_mail action and creating temporary posts for any reason, I know many plugins/themes do this as it is the only good available option to store data in WordPress. However, due to a bug the posts are not being deleted by the plugin/theme that is inserting them into the database. Then, in addition to another bug in the theme that you are currently using, the temporary posts are being treated as a normal post/page and displayed to the visitors rather than ignoring them via the post-type.

    However, this is just me speculating, I don’t know how your website works.

    Please share more information about your website, list the additional plugins that you have installed, which theme is activated, and any other information that you consider relevant. Once I can reproduce the problem I will promptly fix it.

    [1] grep -rn "_post" -- src/*.php

    Thread Starter Duncan Michael-MacGregor

    (@duckonwater)

    Hey yorman,

    Thank you for this, that makes a lot of sense!

    We investigated and seems that WP Mail SMTP by WPForms, was the cause. Still unsure of how it did that but we have since removed it and the problem went away.

    It’s reassuring to know that you use flat files, nice and secure ??

    Thanks again for your help with thi and pleased we got a resolution.
    Keep up the great work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto created alerts as new pages!’ is closed to new replies.