Added Cron manually on server but now get errors

This topic has 4 replies, 2 voices, and was last updated 1 months ago ago by Rose Tyler

  • Avatar: Incanda
    Incanda
    Participant
    March 26, 2024 at 13:54

    Hi

    I have set my wp-cron to run manually, but now get the following errors. Is this something you can help me with please?

    PHP Warning: Invalid “output_buffering” setting. Invalid quantity “Off”: no valid leading digits, interpreting as “0” for backwards compatibility in Unknown on line 0
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Content-type: text/html; charset=UTF-8

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/non-purchasable-woocommerce-products/non-purchasable-woocommerce-products.php on line 16

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/non-purchasable-woocommerce-products/functions/helper.php on line 1

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/non-purchasable-woocommerce-products/functions/admin.php on line 1

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/non-purchasable-woocommerce-products/functions/front.php on line 1

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/non-purchasable-woocommerce-products/options/options.php on line 1

    Warning: Undefined array key “SCRIPT_FILENAME” in /usr/www/users/incandu/wp-content/plugins/woo-shipping-display-mode/freemius/start.php on line 60

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 26, 2024 at 16:09

    Hello, Incanda,

    Thank you for reaching out to us with your concerns regarding the errors you are encountering after setting your wp-cron to run manually. We understand how important it is to have your website running smoothly, and we are here to assist you.

    The warnings you are seeing are related to PHP configuration and undefined array keys within specific plugin files. To address these issues, we recommend the following steps:

    1. For the “output_buffering” warning, please check your PHP configuration (php.ini file) to ensure that the ‘output_buffering’ setting is assigned a proper numerical value. The warning suggests that it is currently set to “Off,” which should be changed to a specific number (e.g., 4096).

    2. The undefined array key warnings appear to be coming from the ‘non-purchasable-woocommerce-products’ plugin and the ‘woo-shipping-display-mode’ plugin. These could be due to incompatibilities with the current version of WordPress or PHP, or they might be bugs within the plugins themselves.

    To resolve these plugin-related warnings, you can try the following:

    – Ensure that all your plugins and themes are updated to their latest versions.
    – Temporarily deactivate the mentioned plugins and check if the warnings disappear. If they do, reactivate them one by one to identify the culprit.
    – If the issue persists after updates, you may need to contact the plugin developers for support or look for alternative plugins that provide similar functionality without causing errors.

    We hope this information is helpful.

    Best Regards,
    8Theme’s Team

    Avatar: Incanda
    Incanda
    Participant
    March 26, 2024 at 21:38

    Hi

    Thanks so much! I will try your recommendations. 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 27, 2024 at 07:37

    Hello, Incanda,

    You’re welcome!

    Best Regards,
    8Theme’s Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.