• Hi Guys,

    When I try to add this code to my website, I get an internal server error. Not after I add it, BUT WHEN I CLICK SAVE CHANGES IN THE EDIT SNIPPET MENU. This is a common occurrence for me, and it happens to a wide range of code. What is happening? Here is one example.

    add_shortcode( ‘shortcode_name’, function () {

    $name_id = $_GET[‘name_id’];

    if (isset($name_id)) {
    $out = fish_loop_through_head_and_body_data ($name_id, “p”, “name_display”);
    return $out;
    }

    return “”;

    } );

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    It’s possible that this sort of issue is coming from the encoding of your database table. I would recommend double-checking this using some sort of database administration tool, ensuring that the snippets table encoding aligns with other WordPress tables and with your WordPress configuration.

Viewing 1 replies (of 1 total)

The topic ‘Internal 500 Error’ is closed to new replies.