I ran this and it sorted it for me. I used Cpanel terminal
# composer update "drupal/core-*" --with-all-dependencies
ERROR
----------
[07-Nov-2024 14:25:20 Europe/London] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/......./public_html/vendor/twig/twig/src/Extension/SandboxExtension.php on line 120
[08-Nov-2024 11:48:52 Europe/London] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/......../public_html/vendor/twig/twig/src/Extension/SandboxExtension.php on line 141
**120 public function checkPropertyAllowed($obj, $property, int $lineno = -1, ?Source $source = null): void
{
if ($this->isSandboxed($source)) {
try {
$this->policy->checkPropertyAllowed($obj, $property);
} catch (SecurityNotAllowedPropertyError $e) {
$e->setSourceContext($source);
$e->setTemplateLine($lineno);
throw $e;
}
}
}
public function ensureToStringAllowed($obj, int $lineno = -1, ?Source $source = null)
{
if (\is_array($obj)) {
foreach ($obj as $v) {
$this->ensureToStringAllowed($v, $lineno, $source);
}
*141 return $obj;
}
if ($this->isSandboxed($source) && $obj instanceof \Stringable) {
try {
$this->policy->checkMethodAllowed($obj, '__toString');
} catch (SecurityNotAllowedMethodError $e) {
$e->setSourceContext($source);
$e->setTemplateLine($lineno);
throw $e;
}
}
return $obj;
}
}
I am still having problems with installing patches, done what is mentioned above but been doing it manually.
Anyone else got any idea what could be the issue?
can someone put the link here to the fix for this as all I am getting is the git drupal code and unable to do anything with that
Willids → created an issue.
Willids → created an issue.
I have a list of event for 480+ clubs, when I click the last page then click another page this is when I get the error, I have to re-sae the view to stop the error.
Narrowed it down to this been the problem as I got it today again.
Content: Event Recur Date (>= -1 minute) | Aggregation settings
Content: Event Recur Date (<= +7 day) | Aggregation settings
The thing which gave the error for me is the Webform, I am not sure if it is the name of the form which caused the problem. I have just changed it to something simple, instead of something with dots and dashes in the name.
I am getting these, cleared cache but still getting them
Symfony\Component\HttpKernel\Exception\BadRequestHttpException: The theme must be passed as a query argument in Drupal\system\Controller\AssetControllerBase->deliver() (line 132 of /home/DOMAINNAME/public_html/core/modules/system/src/Controller/AssetControllerBase.php).
Getting these regular now, anyone got a clue how to fix please
Willids → created an issue.
It is information entered from one content type to use in another content type to save duplication in information entered.
in drupal 10 you can use an existing field in the content type.
got the clubs listed, but when I tried the following keep getting page not found
/event/{{ title }}_sometext
/event/*_sometext
all the club details are entered on the content type club,
The URL currently domainname/event/where_club_is
so would like the same URL to save having to redirect all the events to new URLs, I know I can read items from the club structure but is it possible to do the same with block or page views to save having to enter the same details multiple times for club and then events.
hope this makes sense, I have already created the block and page view but it is if I can have the same URL.
It is something in the Database, I have copied the site removed the DB and mods, installed default DB reinstalled all mods and works. It is a case of going through all the Database.
DaveWilliamson → created an issue.
Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() (line 174 of core/lib/Drupal/Core/Asset/JsCollectionOptimizerLazy.php).
Same issue here, it is intermittent throughout the site including in the admin panel whilst moving around that.
Any Ideas on how to fix it ??
this is what it is asking me to upgrade, once I click apply pending updates
====
13 pending updates
SYSTEM MODULE
Update timestamp formatter settings for entity view displays.
TEXT MODULE
Add allowed_formats setting to existing text fields.
VIEWS MODULE
Update Views config schema to make boolean custom titles translatable.
Fix '-revision_id' replacement token syntax.
Add eager load option to all oembed type field configurations.
Add lazy load options to all responsive image type field configurations.
Update timestamp formatter settings for views.
WEBFORM MODULE
Move from custom CKEditor to hidden 'webform_default' text format.
Issue #3351348: '#multiple__no_items_message' added to every field.
#3335924: Allow the confirmation page to include robots noindex meta tag.
#3254570: Move jQuery UI datepicker support into dedicated deprecated module.
Issue #3247475: Location field Algolia Places sunsetting May 31, 2022.
Issue #3339769: Improve Webform categorization to support assigning multiple categories and default categories.
updating from 9.5.10 to 10.1.2 - check all modules are compatiable
Tried
composer require drupal/geocoder:^3.20 - not worked
Tried
composer require drupal/geocoder:^4.0 - worked
Cheers
Just updated from 9.5.0 to 10.1.2 and the error I am getting is this when I try to upgrade the Database, any ideas on how to get around it?
It has updated most of the database but has 13 things left to update, I have tried to remove a few modules to see if that helps but nothing
Php 8.1
=======================================
system module Update timestamp_formatter
Failed: Drupal\Component\Plugin\Exception\PluginNotFoundException: The "yoastseo_empty_formatter" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\FormatterPluginManager are: comment_default, comment_permalink, comment_username, datetime_default, datetime_plain, datetime_custom, datetime_time_ago, daterange_custom, daterange_default, daterange_plain, file_video, file_table, file_audio, file_url_plain, file_size, file_default, file_filemime, file_link, file_extension, file_rss_enclosure, file_uri, gdoc_field, geocoder_geocode_formatter, geocoder_geocode_formatter_file, geocoder_geofield_reverse_geocode, geocoder_geocode_formatter_gpxfile, geocoder_geocode_formatter_kmlfile, geocoder_geocode_formatter_geojsonfile, geofield_default, geofield_latlon, geofield_google_map, geolocation_map, geolocation_sexagesimal, geolocation_token, geolocation_latlng, image, image_url, leaflet_formatter_default, link_separate, link, metatag_empty_formatter, list_default, list_key, redirect_source, responsive_image, simple_gmap, smartdate_plain, smartdate_duration, smartdate_custom, smartdate_default, smartdate_recurring, smartdate_dailyrange, styled_google_map_default, entity_reference_rss_category, telephone_link, text_default, text_trimmed, text_summary_or_trimmed, author, user_name, video_embed_field_colorbox, video_embed_field_thumbnail, video_embed_field_lazyload, video_embed_field_video, webform_entity_reference_url, webform_entity_reference_entity_view, webform_entity_reference_link, yoastseo_formatter, number_decimal, email_mailto, language, timestamp_ago, uri_link, timestamp, boolean, string, entity_reference_entity_id, entity_reference_entity_view, entity_reference_label, number_unformatted, number_integer, basic_string in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /home/uk1host/public_html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Getting this error, not able to edit any content types because of this.
Drupal 9.5.8
PHP 8.1
Geocoder 8.x-49
================
[27-Apr-2023 10:26:05 Europe/London] Error: Class "Http\Adapter\Guzzle7\Client" not found in /home/afvbcouk/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 #0 /home/DOMAINNAME/public_html/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService(Array, 'geocoder.http_a...')
#1 /home/DOMAINNAME/public_html/modules/geocoder/src/ConfigurableProviderUsingHandlerWithAdapterBase.php(88): Drupal\Component\DependencyInjection\Container->get('geocoder.http_a...')
#2 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(21): Drupal\geocoder\ConfigurableProviderUsingHandlerWithAdapterBase::create(Object(Drupal\Core\DependencyInjection\Container), Array, 'googlemaps', Array)
#3 /home/DOMAINNAME/public_html/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(83): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('googlemaps', Array)
#4 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(62): Drupal\Component\Plugin\PluginManagerBase->createInstance('googlemaps', Array)
#5 /home/DOMAINNAME/public_html/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin('googlemaps')
#6 /home/afvbcouk/public_html/modules/geocoder/src/Plugin/GeocoderProviderPluginCollection.php(22): Drupal\Component\Plugin\LazyPluginCollection->get('googlemaps')
#7 /home/afvbcouk/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(83): Drupal\geocoder\Plugin\GeocoderProviderPluginCollection->get('googlemaps')
#8 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(99): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration(Array)
#9 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(55): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId('googlemaps', Array)
#10 /home/DOMAINNAME/public_html/modules/geocoder/src/Entity/GeocoderProvider.php(103): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct(Object(Drupal\geocoder\ProviderPluginManager), 'googlemaps', Array)
#11 /home/DOMAINNAME/public_html/modules/geocoder/src/Entity/GeocoderProvider.php(119): Drupal\geocoder\Entity\GeocoderProvider->getPluginCollection()
#12 /home/afvbcouk/public_html/modules/geocoder/src/Entity/GeocoderProvider.php(144): Drupal\geocoder\Entity\GeocoderProvider->getPlugin()
#13 /home/DOMAINNAME/public_html/modules/geocoder/src/ProviderPluginManager.php(236): Drupal\geocoder\Entity\GeocoderProvider->isConfigurable()
#14 [internal function]: Drupal\geocoder\ProviderPluginManager->Drupal\geocoder\{closure}(Array, 0)
#15 /home/DOMAINNAME/public_html/modules/geocoder/src/ProviderPluginManager.php(238): array_map(Object(Closure), Array, Array)
#16 /home/DOMAINNAME/public_html/modules/geocoder/modules/geocoder_field/src/Plugin/Geocoder/Field/DefaultField.php(320): Drupal\geocoder\ProviderPluginManager->providersPluginsTableList(Array)
#17 /home/afvbcouk/public_html/modules/geocoder/modules/geocoder_field/geocoder_field.module(91): Drupal\geocoder_field\Plugin\Geocoder\Field\DefaultField->getSettingsForm(Object(Drupal\field\Entity\FieldConfig), Array, Object(Drupal\Core\Form\FormState))
#18 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Extension/ModuleHandler.php(562): geocoder_field_form_field_config_edit_form_alter(Array, Object(Drupal\Core\Form\FormState), 'field_config_ed...')
#19 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(838): Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object(Drupal\Core\Form\FormState), 'field_config_ed...')
#20 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(282): Drupal\Core\Form\FormBuilder->prepareForm('field_config_ed...', Array, Object(Drupal\Core\Form\FormState))
#21 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\field_ui\Form\FieldConfigEditForm), Object(Drupal\Core\Form\FormState))
#22 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch))
#23 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#24 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/Render/Renderer.php(580): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 /home/afvbcouk/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#26 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#27 /home/DOMAINNAME/public_html/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#28 /home/afvbcouk/public_html/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#29 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#30 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#31 /home/DOMAINNAME/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/DOMAINNAME/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/DOMAINNAME/public_html/modules/advban/src/AdvbanMiddleware.php(57): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#34 /home/DOMAINNAME/public_html/core/modules/ban/src/BanMiddleware.php(50): Drupal\advban\AdvbanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#35 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#36 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#37 /home/DOMAINNAME/public_html/modules/remove_http_headers/src/StackMiddleware/RemoveHttpHeadersMiddleware.php(49): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#38 /home/DOMAINNAME/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\remove_http_headers\StackMiddleware\RemoveHttpHeadersMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#39 /home/DOMAINNAME/public_html/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#40 /home/DOMAINNAME/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#41 {main}
==============
Same Problem on 10.0.6
Same problem.
Problem 1
- php-http/guzzle7-adapter 1.0.0 requires guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.5.0] but the package is fixed to 6.5.8 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- drupal/geocoder 4.4.0 requires php-http/guzzle7-adapter ^1.0 -> satisfiable by php-http/guzzle7-adapter[1.0.0].
- Root composer.json requires drupal/geocoder ^4.4 -> satisfiable by drupal/geocoder[4.4.0].
Once installed unable to update the structure of items as it stops updating this running correctly- composer require geocoder-php/google-maps-provider
Just update and run cron, no errors showing as of yet so seems to have fixed the issue. Many Thanks
getting the same on Drupal 10.0.3 Php Version 8.1.14
Still same message using Drupal 9.5.3 and the dev version