Comments (15)
I uninstalled php and installed all from scratch.
And it worked now.
from slug-generator.
The error message indicates that the PHP intl extension is not installed or not activated.
Please check the intl
section in your phpinfo to see if the extension is active.
from slug-generator.
Of course I activated php intl extension.
from slug-generator.
But the Normalizer
class is still not available?
Can you please check if the Locale
class is present in your PHP setup?
var_dump(class_exists('Locale'));
from slug-generator.
Let me check
from slug-generator.
it returns bool(true).
from slug-generator.
from slug-generator.
And var_dump(class_exists('Normalizer'));
is false
?
from slug-generator.
No it is bool(true).
from slug-generator.
The weird thing is that this package works on windows, but my server was installed on ubuntu.
And I want it would work definitely.
But it doesn't work.
from slug-generator.
In the initial comment you posted the error message of a ClassNotFoundException
which cannot happen if class_exists('Normalizer')
returns true
.
Are you sure you executed the class_exists()
code in the same environment where the slug library shows this error?
from slug-generator.
Let me check
from slug-generator.
Well, it always returns true
from slug-generator.
Even if you put the var_dump(class_exists('Normalizer'));
in the file vendor/ausi/slug-generator/src/SlugGenerator.php on line 79:
slug-generator/src/SlugGenerator.php
Lines 79 to 80 in e4414ac
you get
true
but a ClassNotFoundException
gets thrown on the next line?from slug-generator.
@pegasus1982 any updates on this?
from slug-generator.
Related Issues (20)
- Error PaletteManipulator during update with Manager HOT 2
- Add Interface for the SlugGenerator class
- Japan letter but translate to Chinese (i think) HOT 2
- Warning: unable to open ICU transliterator with id "Latin-Upper" HOT 3
- Class 'SlugGenerator' not found HOT 1
- Void type hint is specific for PHP HOT 2
- Correction in Hindi Phrases HOT 1
- Verify if slug is valid. HOT 4
- How to force slug-generator not to convert a comma? HOT 2
- Wrong transforms for Cyrillic letters HOT 2
- Got error from your library. HOT 5
- requirements incompatible with your PHP version, HOT 4
- Implement CLDR fallback chain
- Add support for Emoji
- Cyrillic/Russian generation HOT 3
- Support for php >8.1 HOT 2
- Ability to reverse slug HOT 1
- Optionally prevent the removal of the delimeter at the beginning and end. HOT 6
- Add requirement for ICU 4.6 HOT 3
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 slug-generator.