If WordPress 3.5 stops your plugin from working. Here's the fix (6 posts)

  1. rogerneale
    Posted 3 years ago #

    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


  2. sdahlstrom
    Posted 3 years ago #

    So, is this going to break something else? Seems to me turning off error reporting may not be the best idea...

  3. rogerneale
    Posted 3 years ago #

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

  4. rogerneale
    Posted 3 years ago #

    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.

  5. uwwedoogie
    Posted 2 years ago #

    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.

  6. gmarsh
    Posted 2 years ago #

    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"));
    $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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Showtime
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic