WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rogerneale
    Member
    Posted 1 year 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

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

  2. sdahlstrom
    Member
    Posted 1 year ago #

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

  3. rogerneale
    Member
    Posted 1 year ago #

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

  4. rogerneale
    Member
    Posted 1 year 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
    Member
    Posted 10 months 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
    Member
    Posted 9 months 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"));
    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic