Custom Fields
Re-Envisioned
Support General MetaBox extension installed via composer

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 9 months, 2 weeks ago.

  • Creator
    Topic
  • #11131
    Resolved
    Bezzo
    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

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #11204

    Anh 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 1 replies (of 1 total)

You must be logged in to reply to this topic.