-
Notifications
You must be signed in to change notification settings - Fork 8
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
500 error when installed #20
Comments
Hi, Feel free to test my downstream changes do verify this. Cheers, |
Hi - is this change in the master repository? I am running PicoCMS using the PHP builtin webserver, but am still getting the error. I've installed PicoCMS using composer, and then used git to install the plugin. But am still getting the error. |
Hey sorry to hear that. The PR was merged long before your comment, so it seems to be unrelated. What's somewhat strange to me is the fact that your trace points to 'pico-pages-list/pico-pages-list.php' while the repository contains 'pico-pages-list/PicoPagesList.php'. Can you try and create a link or rename the file to what the loader expects there. This seems to be an issue related to your setup. I am running pico behind nginx with php-fpm and I do not get any errors. Cheers, |
Hi ! It seems like you installed the plugin manually by copying the full repo directory. Don't hesitate to reply, I'll reopen if needed. |
Hi - installed on a couple of machines with picoCMS 2.0.4 and get following error:
[Thu May 9 20:31:51 2019] PHP Fatal error: Uncaught RuntimeException: Unable to load plugin 'pico-pages-list' from 'pico-pages-list/pico-pages-list.php': Plugin class not found in /var/lib/nethserver/home/don/htdocs/picocms/pico/vendor/picocms/pico/lib/Pico.php:669 Stack trace: #0 /var/lib/nethserver/home/don/htdocs/picocms/pico/vendor/picocms/pico/lib/Pico.php(520): Pico->loadLocalPlugins(Array) #1 /var/lib/nethserver/home/don/htdocs/picocms/pico/vendor/picocms/pico/lib/Pico.php(401): Pico->loadPlugins() #2 /var/lib/nethserver/home/don/htdocs/picocms/pico/index.php(33): Pico->run() #3 {main} thrown in /var/lib/nethserver/home/don/htdocs/picocms/pico/vendor/picocms/pico/lib/Pico.php on line 669
The text was updated successfully, but these errors were encountered: