Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I want to start a new site on my server, but right now I can upgrade mariadb, and apache to the required versions for 9.0. Is there still a way to install a new site using composer, but force it to use D8.8.9?
$query = db_query("SELECT * FROM `heritage_source_info`WHERE text_id = :textid AND format = :format ORDER BY type ASC", [':textid' => $textid, ':format' => 'text'])->orderBy('FIELD(type,moolam,translation,commentary)');
$available_sources_text = $query->fetchAll();
But it says call to an undefined function orderBy(). Could you help me with the correct syntax?
I'm 1 week new to drupal and just trying to set up my website. I've implemented reCAPTCHA v2 and whilst the validation check passes, I get the following error on all forms that I submit which have reCAPTCHA enabled: The website encountered an unexpected error. Please try again later.