Skip to content

Rename 'default' directory to 'defaults' so that plugin will activate. #1

@rgadon107

Description

@rgadon107

@hellofromtonya When 'Meta Box Reusable WordPress Plugin' in installed, Whoops! throws the following error in the Plugin Admin, and fails to activate:

Whoops \ Exception \ ErrorException (E_COMPILE_ERROR)
require(): Failed opening required '/app/public/wp-content/plugins/reusable-meta-box/src/metadata/defaults/meta-box-config.php' (include_path='.:')

The final error in the call stack refers to:

/app/public/wp-content/plugins/reusable-meta-box/src/metadata/module.php; line 25, where

$defaults = (array) require DIR . '/defaults/meta-box-config.php';

Please rename '/src/metadata/default/' to '/src/metadata/defaults' so that line 25 of '/src/metadata/module.php' can process, and the plugin can be activated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions