Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter smftech

    (@smftech)

    Problem resolved. Somehow jQuery 3 was loading, I got it back to 1.12.4 and its working again.

    Thanks for your help.

    Thread Starter smftech

    (@smftech)

    Thanks for you response, but no luck so far. This is what I have tried so far:

    – Disabled all plugins
    – Updated everything, WP 4.9.1, updated all plugins (still disabled)
    – Uninstall / reinstall the plugin

    I had a go at updating some settings and I am getting a few error messages:

    Notice: Undefined index: enable_jquery in /home/******/public_html/dev/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 74

    Notice: Undefined index: enable_prettyPhoto in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 116

    Notice: Undefined index: autoplay_slideshow in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 119

    Notice: Undefined index: hideflash in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 129

    Notice: Undefined index: modal in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 132

    Notice: Undefined index: deeplinking in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 133

    Notice: Undefined index: ie6_fallback in /home/******/public_html/wp-content/plugins/wp-video-lightbox/wpvl-settings.php on line 137

    Agree that I need to test in a clean install of WP. That will take a bit longer. I will keep you posted.

    Thread Starter smftech

    (@smftech)

    Don’t know about stock WordPress, but yes I am using sessions in functions.php like this:

    ini_set(‘display_errors’, 1);
    ini_set(‘session.cookie_lifetime’, 60 * 60 * 24 * 365 * 5);
    ini_set(‘session.gc_maxlifetime’, 60 * 60 * 24 * 365 * 5);

    if( session_status() == PHP_SESSION_NONE )
    {
    session_start();
    }

    Thread Starter smftech

    (@smftech)

    Tested with “cron curl” and no longer receiving the notice.

    Thanks for your help.

    • This reply was modified 7 years, 8 months ago by smftech.
    Thread Starter smftech

    (@smftech)

    Not sure what you mean by “trigger the script via cURL”. This is a CRON job that runs a php script overnight. That PHP script uses cURL to download the remote XML file.

    The script is external to WordPress so I include wp-load.php. I process the XML file and use WP_Query, wp_insert_post, wp_update_post and update_post_meta functions to edit the WordPress database.

    This is not an error and the script completes as expected but CRON does not have any smarts to filter out NOTICES and so sends an email as though an error occurred.

    Maybe all you need is something like line 2078:

    isset($_SERVER[‘SCRIPT_FILENAME’]) && $_SERVER[‘SCRIPT_FILENAME’] == …

    to prevent the NOTICE?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)