Support

  1. online-today
  2. General
  3. Thursday, May 14 2020, 12:47 PM
I am not able to activate the social network plugin
I get the following error: 0

Class 'Dotenv\Environment\DotenvFactory' not found

As long as I have not activated the following plugins the internet page works fine:
Easy Profile - EasyDiscuss Tab
Easy Profile - Social Network
Easy Profile - Social Network package
Easy Profile - SocialConnect plugin
Jomsocial Bridge for Easy Profile

P.S.
PHP Version 7.3.16
upload_max_filesize 64M
Accepted Answer
admin Accepted Answer
Admin
Hi,
the full error is: Class 'Dotenv\Environment\DotenvFactory' not found
/xxx/xxxx/xx/xx/xxxx/htdocs/administrator/components/com_osdownloads/vendor/illuminate/support/helpers.php:645

So it comes from component "osdownloads".

In file helpers.php there is a declaration of a function called "env", this is a common function used by many frameworks to retrieve data from files .env (dot env).

Unfortunately seems that the component osdownloads declare it but probably it does not use it, because in osdownloads framework missing the library Dotenv\Environment\DotenvFactory, so it declare a function (env) that need to use a missing library.

To fix this I have changed in file helpers.php at line 632 this code
if (! function_exists('env')) {
with this:
if (false && ! function_exists('env')) {


We recommend to contact developers to fix it.
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
can you please post me your site details to check this? if yes then you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. General
  3. # 1
online-today Accepted Answer
At the moment the above listed social plugins are turned off. The social network page is in the menu "Intern/social network"
  1. more than a month ago
  2. General
  3. # 2
online-today Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.