• Resolved Freepress Coop

    (@freepresscoop)


    Hi,

    When I activate the plugin, I get the following Fatal error on the website:

    
    PHP Fatal error: Cannot redeclare Matrix\adjoint() (previously declared in /home/grandesamigos/www/wp-content/plugins/visualizer/vendor/markbaker/matrix/classes/src/Functions/adjoint.php:20) in /home/grandesamigos/www/wp-content/plugins/gf-entries-in-excel/vendor/markbaker/matrix/classes/src/functions/adjoint.php on line 20

    The pluging uses the same code nad crash the site. How can I fix it.

    WordPress 5.6.2

    Thanks for your help

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Vytis

    (@bvytis)

    Hi @freepresscoop,

    Thank you for using Visualizer.

    I see that the error is coming from another plugin, not Visualizer, plugin that creates the error is gf-entries-in-excel

    Please try to disable this plugin and then Visualizer should work.

    I hope it helps!

    Doeke Norg

    (@doekenorg)

    Hi @freepresscoop and @bvytis,

    The problem here is that both our plugins use the same dependency, but different versions. I’ve already patched gfexcel to be compatible with Vizualizer for now. And a more permanent fix is provided in a PR to markbaker.

    So the latest version of gfexcel should be compatible again.

    Plugin Support Vytis

    (@bvytis)

    Hi @doekenorg,

    Thank you for investigating it and updating us about the solution, great news!

    Thread Starter Freepress Coop

    (@freepresscoop)

    Hi @doekenorg and @bvytis for the support!

    I have both plugins installed and active and everything works fine.

    Great job!

    @bvytis no problem. But I do think this will have to be fixed in multiple plugins, including yours.

    There are now at least 3 plugins that use this dependency through composer. So we no longer have a conflict in our plugins (at the moment), but this problem still exists for both plugins in combination with that other one, and when only one of us decides to update to a newer version when available.

    The only real solution I see is to change the namespace from this dependency. So I’m planning on doing that. Maybe this helps you out too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error use “markbaker”’ is closed to new replies.