MetaBox extension installed via composer

Support General MetaBox extension installed via composerResolved

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11131
    BezzoBezzo
    Participant

    Hello,

    Is there any possibility to prevent extension generating a registry in autoload_files.php?

    I'm using modified version of bedrock and because it's calling autoload early, some plugin can't recognize and use native WordPress function so I have to use them as mu-plugins.

    Base MetaBox form wpackagist doesn't generate registry in autoload_files.php but any extension does and it generating some errors in PHP like:

    Uncaught Error: Call to undefined function add_action()

    https://ghostbin.com/paste/rm3qq

    #11204
    Anh TranAnh Tran
    Keymaster

    Hi Bezzo,

    Thanks for your idea. I think it's ok to remove autoload from Composer and leave it for developers. I've just made the change. Please try again.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.