• Resolved jrrsantacruz

    (@jrrsantacruz)


    PHP Fatal error: Cannot redeclare authorship_load_customizer() (previously declared in /home/jrrsant1/public_html/wp-content/plugins/molongui-authorship/includes/hooks/author/box/customizer.php:7) in /home/jrrsant1/public_html/wp-content/plugins/molongui-authorship/includes/deprecated/functions.php on line 41

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Molongui

    (@molongui)

    Hi @jrrsantacruz,

    That error, no matter which function it is being reported as duplicated, is being shown because you didn’t clear your cache after updating the plugin.

    So please, for anyone getting a similar error, flush your cache after updating any plugin.

    That should be it. Please let us know whether it fixes the issue.

    Thread Starter jrrsantacruz

    (@jrrsantacruz)

    hello
    the error message continues both with the indicated instructions and with other web browsers or private browsing, also on both windows and linux

    Thread Starter jrrsantacruz

    (@jrrsantacruz)

    Error E_COMPILE_ERROR en la línea 41 del archivo /home/jrrsant1/public_html/wp-content/plugins/molongui-authorship/includes/deprecated/functions.php. Mensaje de error: Cannot redeclare authorship_load_customizer() (previously declared in /home/jrrsant1/public_html/wp-content/plugins/molongui-authorship/includes/hooks/author/box/customizer.php:7)

    Plugin Author Molongui

    (@molongui)

    Hi @jrrsantacruz,

    I’d say it must be a cache issue. See

    1) The file that first declares that function doesn’t exist anymore since version 4.6.0 —which you must be running because the mentioned function is also present on the deprecated functions file.

    2) It’s happening on any environment you test

    So, are you sure you have cleared all the caches in your installation? Some hosting providers have enabled additional caching mechanisms —other than WP plugins, I mean— that might be loading old files.

    Another option would be that the plugin update process failed somehow. Adding new files but not removing the ones that needed deletion. This would be really weird, however.

    Anyway, you can always remove the plugin and install it again. Plugin settings will be kept —as long as you didn’t change default plugin configuration regarding data retention upon deletion. But if it is a cache issue, I’m not that sure this will make any difference.

    If none of this helps, please provide a list of contents for the plugin folder. You can paste it here or open a support ticket with us here.

    Thread Starter jrrsantacruz

    (@jrrsantacruz)

    the problem was solved by deleting the plugin and its directory and downloading again

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