• Resolved Aldo

    (@ab_lu)


    Hello

    We are not able to active the plugin as it returns the following error:

    PHP Fatal error:  Uncaught Error: Call to undefined method Dotenv\Dotenv::createImmutable() in /home/httpd/vhosts/web/app/plugins/aspose-doc-exporter/plugin.php:22
    Stack trace:
    #0 /home/httpd/vhosts/web/wp/wp-admin/includes/plugin.php(2286): include_once()
    #1 /home/httpd/vhosts/web/wp/wp-admin/plugins.php(191): plugin_sandbox_scrape('aspose-doc-expo...')
    #2 {main}
      thrown in /home/httpd/vhosts/web/app/plugins/aspose-doc-exporter/plugin.php on line 22

    Any idea?

    Thanks
    Aldo

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support tilalahmad

    (@tilalahmad)

    @ab_lu

    Please ensure that you are using the latest version of the Plugin. If you still face the issue then please share your PHP and WP versions for investigation.

    Thread Starter Aldo

    (@ab_lu)

    @tilalahmad

    We use the latest version (6.2.0).
    WP is 5.8.1 and PHP 7.3.33

    Plugin Support tilalahmad

    (@tilalahmad)

    @ab_lu

    Thanks for your feedback. We have tested the latest plugin version(6.2.0) on WordPress 5.8.1 with PHP 7.3 without any issue. Probably the plugin is conflicting with your web server configuration or some other plugin on your WordPress site. You may try the following two options:

    1. Open aspose-doc-exporter/plugin.php file in a code editor and delete \Dotenv\Dotenv::createImmutable(__DIR__)->load(); line. Then try to activate the plugin.

    2. If the above change does not resolve the issue then please try to install our plugin on some other web server (maybe your own computer) and activate it. If our plugin works fine, start installing other plugins that you installed on your original website one by one to see which plugin is causing the conflict and share the information. We will try to investigate and fix the issue.`

    Thread Starter Aldo

    (@ab_lu)

    Thanks! Perfect. Option 1. helped.
    We use bedrock (https://roots.io/bedrock/) who also uses Dotenv.
    Probably they conflict with each other.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error while activating plugin’ is closed to new replies.