Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with extensions caching: Serialization of 'Symfony\Component\Finder\SplFileInfo' is not allowed #214

Open
arnisjuraga opened this issue Sep 5, 2018 · 2 comments
Assignees

Comments

@arnisjuraga
Copy link
Contributor

/public_html/system/library/Extension/ExtensionManager.php:60

            /** @var SplFileInfo $extensionPath */
            foreach ($finder as $extensionPath) {
                self::$extensionCollection->add($extensionPath);
            }
 
ERROR  -->>         $cache->set('extensionCollection', self::$extensionCollection);
 
        }
    }
@prhost
Copy link
Contributor

prhost commented Oct 19, 2018

try change line $extension->path = $extensionPath; to $extension->path = $extensionPath->getRealPath();

@arnisjuraga
Copy link
Contributor Author

I've tried, but that seems to not help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants