Comments (11)
Never noticed a problem on any server I host with. Or local which also uses a case sensitive file system, but that doesnโt mean itโs not an issue.
Iโll take a look at this today
from grav-plugin-sitemap.
Ok just saw it has been patched but not released yet ๐
from grav-plugin-sitemap.
I saw thats this issue was closed but i still found an error. In my case i basically installed last version of plugin. Then locally all works well with declaration ( sitemap.php ) :
use Grav\Plugin\Sitemap\SitemapEntry;
Everytime i deploy to one server, there is an error : Class 'Grav\Plugin\Sitemap\SitemapEntry' not found
So i renamed to :
use Grav\Plugin\Sitemap\sitemapentry;
Just after that everything works fine. Can you please advice about this error? Thank you.
Thats an urgent topic
from grav-plugin-sitemap.
Hi @FabulousF, I rename file with Ci for now, so if plugin update is done by Admin it will fail. We may propose a PR, we can also do a fork and install it manually. No perfect solution but I think they need time to process updates.
from grav-plugin-sitemap.
Hi @zouloux, ok thank you for your response. For instance i did manually my changes, waiting for official update.
from grav-plugin-sitemap.
Are you guys on the latest 2.0.2 version of sitemap? It was released a couple of weeks ago. This has the SitemapEntry.php
case issue was actually fixed in 2.0.1 back in July.
If you still have an issue it might be related to an out of date composer autoloader. I've updated that in this commit: 9e3ea46
You could test by downloading the zip file of the develop branch here: https://github.com/getgrav/grav-plugin-sitemap/archive/develop.zip and replacing your files.
from grav-plugin-sitemap.
Hello @rhukster, thx for feedback. Yes i'm using last version of plugin and also last version of Grav.
I think maybe i'll try to update composer :
bin/grav composer --update
right?
from grav-plugin-sitemap.
That updates Grav's vendor libraries / autoloader, what you need to try is to update the ones in the sitemap plugin. So you have to:
cd user/plugins/sitemap
composer update
Assuming you have composer installed on the system.
Or grab the zip I linked to and replace the sitemap plugin.
from grav-plugin-sitemap.
ok i'll try thank you
from grav-plugin-sitemap.
Hi back. I had an outdated version of Composer. I did well cmd : composer update into ( user/plugins/sitemap )
System updated those two files :
user/plugins/sitemap/composer.lock
user/plugins/sitemap/vendor/composer/autoload_real.php
Then i changed again name i did before :
Grav\Plugin\Sitemap\SitemapEntry;
instead of
Grav\Plugin\Sitemap\sitemapentry;
I have now same error than before :
Class 'Grav\Plugin\Sitemap\SitemapEntry' not found
from grav-plugin-sitemap.
Don't change anything in the sitemap plugin, it does work fine as-is. It's just your system that is holding on to old references. Try clearing PHP opcache, or restarting the PHP-FPM process, or rebooting the server.
from grav-plugin-sitemap.
Related Issues (20)
- Missing translations in JSON sitemap HOT 2
- Avoid flex objects from indexing
- Children pages under an unpublished blog will show up in sitemap
- Suggestion: location url -> change domain based on language
- attachments HOT 1
- Default Page is HTML not XML HOT 2
- canonical tag for sitemap.xml HOT 4
- ParseError syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) HOT 3
- sitemap-news.xml Page Redirects to 404 HOT 2
- Wrong file name for SitemapEntry.php > Grav\Plugin\Sitemap\SitemapEntry HOT 2
- Invalid root element, missing trailing slash HOT 2
- Alternative replacement for ignore:true, using visible or published HOT 1
- Invalid namespace according to google console HOT 2
- All languages on the same map: by default or not? HOT 7
- Related items not grouped in sitemap HOT 5
- Problem with a multilanguage sitemap HOT 1
- Error with multilingual one-page website HOT 3
- Sitemap blanked out problem HOT 10
- Way to provide an override for sitemap's lastmod HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-plugin-sitemap.