Skip to content

Plugin could not be activated because it triggered a fatal error. #18

@ghost

Description

Fatal error: Uncaught TypeError: Argument 1 passed to Dotenv\Dotenv::__construct() must implement interface Dotenv\Store\StoreInterface, string given, called in /var/www/pointhr.net/blog/wp-content/plugins/cloud-media-offloader/vendor/dmhendricks/wordpress-toolkit/core/ToolKit.php on line 175 and defined in /var/www/pointhr.net/blog/vendor/vlucas/phpdotenv/src/Dotenv.php:60 Stack trace: #0 /var/www/pointhr.net/blog/wp-content/plugins/cloud-media-offloader/vendor/dmhendricks/wordpress-toolkit/core/ToolKit.php(175): Dotenv\Dotenv->__construct() #1 /var/www/pointhr.net/blog/wp-content/plugins/cloud-media-offloader/vendor/dmhendricks/wordpress-toolkit/core/ToolKit.php(160): WordPress_ToolKit\ToolKit->load_env_from_apth() #2 /var/www/pointhr.net/blog/wp-content/plugins/cloud-media-offloader/vendor/dmhendricks/wordpress-toolkit/core/ToolKit.php(62): WordPress_ToolKit\ToolKit->load_env_vars() #3 /var/www/pointhr.net/blog/wp-content/plugins/cloud-media-offloader/app/Plugin.php(24): WordPress_ToolKit\ToolKit->init() #4 /var/www/po in /var/www/pointhr.net/blog/vendor/vlucas/phpdotenv/src/Dotenv.php on line 60

Versions

  • Cloud Media Offloader: 0.8.0 & 0.8.1
  • WordPress: 5.8.1
  • PHP: php7.4-fpm
  • Hosting Environment (ie, Windows, Linux): localhost on ubuntu 20.04 on wsl2 windows 10

Description of Issue/Request

download the plugin, install, activate.
image

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