• Resolved fanwp

    (@fanwp)


    Hello,

    I have installed the plugin for several months.
    Several redirects were put in place and everything worked properly.

    But since the update (version 3.4), I have the following message:
    ————————-

    Fatal error: Uncaught Error: Call to undefined function get_user_locale() in /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php:328 Stack trace: #0 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php(221): Redirection_Admin->get_i18n_data() #1 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-includes/plugin.php(524): Redirection_Admin->redirection_head(”) #2 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-admin/admin.php(212): do_action(‘load-tools_page…’) #3 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-admin/tools.php(10): require_once(‘/homepages/12/d…’) #4 {main} thrown in /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php on line 328
    —————————

    Today I downloaded the new version (version 3.4.1), thinking that it might solve the problem, but I have a message again:
    —————————

    Fatal error: Uncaught Error: Call to undefined function get_user_locale() in /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php:329 Stack trace: #0 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php(222): Redirection_Admin->get_i18n_data() #1 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-includes/plugin.php(524): Redirection_Admin->redirection_head(”) #2 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-admin/admin.php(212): do_action(‘load-tools_page…’) #3 /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-admin/tools.php(10): require_once(‘/homepages/12/d…’) #4 {main} thrown in /homepages/12/d36106446/htdocs/LISBONNE.NET/wp-content/plugins/redirection/redirection-admin.php on line 329
    —————————

    Apparently the error is on lines 328 and 329 of the wp-content / plugins / redirection / redirection-admin.php file.

    For info, my site works under WordPress 4.6.12

    What to do ?

    Thank you very much in advance for your help.

    The page I need help with: [log in to see the link]

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

    (@johnny5)

    The plugin contains a function call to a function that was introduced in WordPress 4.7, and you have version 4.6. The plugin does state it supports 4.5, so this is unintentional, and I will change it, but in the meantime upgrading your WordPress will fix the problem (which is a good thing anyway, as you’ll stop any security problems that might exist in older versions).

    Thread Starter fanwp

    (@fanwp)

    Hello John,

    Thanks for the information.
    I have updated wordpress, and now everything is working properly. ??

    Cordially.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.