• Resolved codeink

    (@codeink)


    Upon updating the plugin, I saw this notice:
    Redirection’s database needs to be updated – click to update.

    When I click to update, it takes me to a page and gives this error:
    This page isn’t working mywebsite.com is currently unable to handle this request.
    HTTP ERROR 500

    I’ve done this update successfully on 5 other websites, one that is identical and had no problems apart from this one website.

    I have tried deactivating the plugin and re-activating to no avail

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author John Godley

    (@johnny5)

    Do you have access to your error log? That may provide more information. One possibility is that your site has run out of memory. This may help:

    https://docs.woocommerce.com/document/increasing-the-wordpress-memory-limit/

    Thread Starter codeink

    (@codeink)

    I increased the memory limit and no change. Here’s the error logs:

    [03-Feb-2019 20:30:27 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:30:27 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:30:28 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:30:28 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:30:28 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:30:28 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:04 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:04 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:05 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:05 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:05 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:05 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:07 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:07 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:08 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:08 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67
    [03-Feb-2019 20:31:08 UTC] PHP Warning: Creating default object from empty value in /home/londonon/public_html/log/wp-content/themes/headlines/functions/admin-hooks.php on line 160
    [03-Feb-2019 20:31:08 UTC] PHP Warning: Use of undefined constant video_id – assumed ‘video_id’ (this will throw an Error in a future version of PHP) in /home/londonon/public_html/log/wp-content/themes/headlines/includes/theme-functions.php on line 67

    Plugin Author John Godley

    (@johnny5)

    While those errors should be looked at they don’t look to be the cause of your error.

    There is something specific to this server that is causing the problem. I don’t think it’s related to the plugin itself, and you’ll need to dig through any differences and error log files that you might have.

    Thread Starter codeink

    (@codeink)

    We have another website on the same server and had no problems with this on the other website, just this one?

    Plugin Author John Godley

    (@johnny5)

    Ok, then that may help you narrow down the difference. As with anything like this it’s worth disabling everything and then gradually re-enabling things until it breaks.

    Thread Starter codeink

    (@codeink)

    I’ve disabled all plugins and this still happens.

    Update: It seems to be the WooCommerce Headlines theme (which is retired). Perhaps something isn’t compatible there. I activated Twenty Seventeen, ran the update and then put back Headlines and that worked (in case anyone else has this issue)

    • This reply was modified 5 years, 9 months ago by codeink.
    Plugin Author John Godley

    (@johnny5)

    Can you go to the Redirection page normally, without clicking the notice?

    Thread Starter codeink

    (@codeink)

    Yes, that was loading fine, it was just the database upgrade causing the issue. Resolved now by switching themes.

    Plugin Author John Godley

    (@johnny5)

    Huh. Could you tell me what theme you were previously using?

    Thread Starter codeink

    (@codeink)

    Headlines by WooThemes (it’s a retired theme)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Redirection’s database needs to be updated HTTP ERROR 500’ is closed to new replies.