Support » Fixing WordPress » page.php infinite loop, don't know why

  • Hi all,

    I have a website set up for a client. They’ve installed a contact form plugin through the admin by “BWS Plugins” and it has been working okay so far until today. Said client installed plugin, created a menu item and linked it to a “page” where “[contact_form]” was entered in the HTML editor, creating the form.

    For some reason the “contact” page has started entering an infinite loop whenever it is viewed, loading infinitely the newest article directly under the contact form. I’ve tracked the issue to this function (inside page.php):

    get_template_part( ‘content’, ‘page’ );

    Commenting out this line stops the infinite loop but it also obviously stops any content from showing.

    I realise this could be a problem with the plugin, but I can’t find any support anywhere and no where seems to know what the issue is. I’d appreciate some advice on what could possibly cause an infinite loop such as this to occur.

    Thank you,

    George

  • The topic ‘page.php infinite loop, don't know why’ is closed to new replies.