Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I´ve just uploaded the new omega4, and I´ve read that there are only instructions to install a subtheme with Drush. I´m no drush expert, but I´ve managed to installed it and make it work.
I´ve cleared cache, and tried the drush omega-wizard
command.
I´ve gone through all the steps of the wizard (I must confess that´s pretty simple), but at the final step, I get this error:
"Fatal error: Call to undefined function lcfirst()"
What´s that? How may I continue the installation process?
Thanks for your help!
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedFirst of all: Support request are *never* critical (normal or minor, nothing else). Remember that this is open source software and we maintain it voluntarily in our free time and for 0 revenue.
Regarding your question:
That means that your PHP version is VERY old (older than 5.3, which is the recommended version for Drupal 7). There is no way around this problem other than upgrading your PHP version (at least locally so you can generate your theme with Drush).
lcfirst() is a PHP core function and was added in 5.3: http://php.net/manual/en/function.lcfirst.php
Comment #2
fubhy CreditAttribution: fubhy commentedComment #3
Rosamunda CreditAttribution: Rosamunda commentedThanks for your reply! I really appreciate it!
(sorry about the critical priority :)
I´ll upgrade my VPS first.
But, is there any way to install a subtheme without Drush?
Comment #4
fubhy CreditAttribution: fubhy commentedYes, manually... Just copy the starterkit over to your theme folder and rename all the files that have {{ }} placeholders in their name and do the same for the file contents (recursively search for occurrences of the {{ }} placeholders (see file structure for their exact names).
However, this is absolutely not recommended and very cumbersome. But you can try of course...
Comment #5
Rosamunda CreditAttribution: Rosamunda commentedThanks!!! :)