Custom Fields
Support General MetaBox extension installed via composer

  • Creator
  • #11131
    Resolved Bezzo


    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()

Viewing 1 replies (of 1 total)
  • Author
  • #11204
    Anh Tran

    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.