Viewing 12 replies - 1 through 12 (of 12 total)
  • As developer of another plugin I confirm this plugin create conflicts since more than a month.
    This plugin uses a fork of a library that is not updated since 2018, instead the original one it was updated a month ago.

    https://www.ads-software.com/support/topic/fatal-error-plugin-conflict-3/
    https://www.ads-software.com/support/topic/fatal-error-on-a-fresh-install-2-0-8/

    Thread Starter tezalsec

    (@tezalsec)

    Daniele, Thanks for confirming.

    @nicolaskulka, please fix this. Thanks.

    Thread Starter tezalsec

    (@tezalsec)

    @nicolaskulka , did I see correctly at github that you are working on this?

    Do you have a workaround or just a temporary clean disabling of notice dismissal? Other plugin I need working can not function while this issue remains.

    Thanks.

    Plugin Author NicolasKulka

    (@nicolaskulka)

    new version 1.8.1

    Thread Starter tezalsec

    (@tezalsec)

    I still get the same error, fatal error for redeclaring function. Shouldnt the DNH function be inside a class?

    Plugin Author NicolasKulka

    (@nicolaskulka)

    It is a library present on many other plugins and there is no problem.

    Can you copy me the fatal error?

    Thread Starter tezalsec

    (@tezalsec)

    Fatal error: Cannot redeclare DNH() (previously declared in wp-content/plugins/wps-hide-login/vendor/nicolaskulka/wp-dismissible-notices-handler/includes/helper-functions.php:35) in wp-content/plugins/advanced-responsive-video-embedder/php/Admin/vendor/julien731/wp-dismissible-notices-handler/includes/helper-functions.php on line 34

    Plugin Author NicolasKulka

    (@nicolaskulka)

    go to support advanced-responsive-video-embedder plugin now

    Hi NicolasKulka,
    on my analysis the issue is in your plugin that use a fork of that library that is not updated since a few years.

    The issue is that the one of Glossary is the version updated from few months ago and has a code to avoid the error.
    So this is what happening:

    Now Glossary is executed before that plugin and the code of the library that check if function exists doesn’t find anything.
    Later the wps-hide-plugin is executed with the library from 2018 and from a fork that doesn’t have this check so load the function also if it is already defined.
    If that plugin not use the fork and the original one, the function will not added again because there is a check.

    If you add that check in your fork, rename the library’s fork stuff or move to the original library all the plugins that use the original library version, everything will be fine.

    Plugin Author NicolasKulka

    (@nicolaskulka)

    The fork has been updated with and the problem remains with the Glossary plugin

    nicomahe

    (@nicomahe)

    Hi @nicolaskulka,
    I have the same problem. Impossible to reach the control panel and the site is down.
    here is the message i Got from WP:

    Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 36 du fichier /home/nicomahebf/www/wp-content/plugins/wps-hide-login/vendor/nicolaskulka/wp-dismissible-notices-handler/includes/helper-functions.php. Message d’erreur : Cannot redeclare DNH() (previously declared in /home/nicomahebf/www/wp-content/plugins/wps-bidouille/vendor/NicolasKulka/wp-dismissible-notices-handler/handler.php:629)

    I already read the upper posts but I don’t know how to fix that… i saw you asked to “go to support advanced-responsive-video-embedder plugin now” but i don’t understand what and where (do you hve a link?) and I don’t know how to access the admin panel. I just can get into the folder thru Filezilla; Please, help me, I’m totally lost….
    Thank you in advance,
    Nico

    Plugin Author NicolasKulka

    (@nicolaskulka)

    update plugin wps-hide-login and wps-bidouille plz

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Fatal error: Cannot redeclare DNH function’ is closed to new replies.