Support » Plugin: Showtime » If WordPress 3.5 stops your plugin from working. Here's the fix

  • There are two possible fixes for this,

    1) If you can, edit the wp-config.php file and find this line of code

    “/** Sets up WordPress vars and included files. */require_once(ABSPATH. ‘wp-settings.php’);”
    Add “error_reporting(0);” underneath it without the quotations.

    Then re-upload the wp-config.php file back to the server again, that should resolve the issue.

    2) If you are using CPanel (Control Panel) for managing your hosting, you can turn off “display_errors” within the php.ini configuration and that should also fix it

    http://wordpress.org/extend/plugins/showtime/

Viewing 5 replies - 1 through 5 (of 5 total)
  • So, is this going to break something else? Seems to me turning off error reporting may not be the best idea…

    My programmer didn’t tell me of any other implications but I’ll ask him and report back.

    And his answer………

    ” turning off error reporting would not cause any physical issues to people’s websites. It would simply stop coding errors from being outputted on a website due to incompatible code or corrupted plug-ins. “

    As I’m not a programmer, it’s all magic to me but I Hope that helps.

    Thank you for this. Works perfectly for 3.6 also.

    I could add and display shows, but I couldn’t see them from the plugin to edit them, this simple fix sorted it out.

    Thank you.

    The real fix is to change line 182 of crud.php from
    $output[$day] = $wpdb->get_results( $wpdb->prepare ( "SELECT * FROM $showtimeTable WHERE dayOfTheWeek = '$day' ORDER BY startTime"));
    to
    $output[$day] = $wpdb->get_results( $wpdb->prepare ( "SELECT * FROM $showtimeTable WHERE dayOfTheWeek = '%s' ORDER BY startTime", $day));

    This will solve the error instead of not displaying the error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘If WordPress 3.5 stops your plugin from working. Here's the fix’ is closed to new replies.