• After installing and placing the shortcode everything works fine. But when I want to edit the page, I get a white WordPress screen telling me there was a fatal error caused by PHP Code Snippet and a link was sent for recovery.

    When I deactivate the plugin, I can edit the page without any issues and when activating the plugin again after editing, everything works fine.

    WordPress versie 5.5
    Huidig thema: Beaver Builder Child Theme (versie 1.0)
    Huidige plugin: Insert PHP Code Snippet (versie 1.3.1)
    PHP versie 7.4.6

    Can you please help?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • hi,
    Can you post the snippet code you have used in the given page.

    Thread Starter dtp2

    (@dtp2)

    <?php
    require_once 'tpwratings/src/TPWRatings.php'; //Not required with Composer
    echo new TPWRatings('bd1951559697de3fda7b290c61b733da', 'light');
    ?>

    hi,
    This error may cause by the use wrong path in require_once(). Can you recheck the path of the TPWRatings.php is correct in require_once ()

    • This reply was modified 4 years, 3 months ago by sumaiyaf.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue editing page after using the plugin’ is closed to new replies.