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.
Because I have no ability to use composer online I wanted to clone my online Drupal site perfectly,
duplicate the database on my local xampp
then install the newest Drupal version with composer,
and reconnect to the database with the same name.
As a test I did create a few sites of content online, before exporting that database and importing it again,
and now that I have installed Drupal on xampp on Windows I see the empty new page which tells me that no content would be created yet.
Hi All, in a custom module I try to remove all items in an multi entity_reference field, field_club_coaches, that has been added to the user entity. I use this code:
while (count($user->field_club_coaches) > 0) {
unset($user->field_club_coaches[count($user->field_club_coaches) - 1]);
}
I get a warning:
Warning: Attempt to read property "field_club_coaches" on string in Drupal\icb\Controller\ICBController. . . . web/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
Before putting in production, I developed in my local "localhost" server using MAMP Pro without problem with Drupal 10.
After the installation Drupal 10 under the folder (e.g. domain/subFolder/), this is always the page appears "403 forbidden" and I am not able to configure to create the new file Settings.php with the connection the database and the user that I created in "phpMyAdmin". I sought a lot in the forum to solve my problem with one or two file(s) .htaccess, I did not have the clarification of the response for the solution.
I am upgrading a site to try and make things easier instead of entering information multiple times.
At the moment I have a site with 300 clubs, and each club has an events page. (I have installed recurring dates and working fine on the old site as it is at the moment, and the page layouts I need.)
I am putting all the club details in twice at the moment, once in the club details then once on the events page.
EntityMalformedException: Missing bundle property on entity of type file. in entity_extract_ids() (line 8043 of /home/customer/www/theorichel.nl/public_html/includes/common.inc).