Hello @Greg Clout,
Do you know anything related the comment #3?
It seems I have the same issue.
Same problem here.
I'm working on it. I will post what I find.
Thanks.
Dear pnavarrr,
I'm getting the same issue. Do you know anything else?
Thanks.
I've ultimately opted to replace the 'Facets Select2 Multi Checkboxes Widget' module with the Chosen module. While their appearance isn't exactly the same, however, they both provide the same functionality for facets. Chosen is actively maintained and kept up-to-date.
Thanks.
Hello guys,
I have the same problem here, no .php/.module file and php 8.1:
PHPStan command failed
! [NOTE] No files found to analyse. [WARNING] This will cause a non-zero exit code in PHPStan 2.0.
Hello,
In my case, #6 fixed my issue.
Thanks.
Hello,
In my case, #6 fixed my issue.
Thanls
gmoraleb β created an issue.
Hello again,
The problem was due to deprecated code. In our custom blocks we had to modify:
$entity = $this->context['entity']->getContextValue();
$url = $entity->urlInfo();
By:
$entity = $this->getContextValue('entity');
$url = $entity->toUrl();
And in derivative files:
$this->derivatives[$delta]['context']['entity'] =
By:
$this->derivatives[$delta]['context_definitions']['entity'] =
And those changes fixed our problem.
Hello Sseto,
You only need one, it depends on your module's version because the number of the line changes. In that case was for 1.0.0-alpha3.
I created another issue to fix it in Drupal 9 using 1.0.0-alpha3 version because I found another bug:
https://www.drupal.org/project/fullcalendar/issues/3422605
π
PHP 8 and Drupal 9 deprecation error
Needs review
Here is it, please, check it.
Thanks.
gmoraleb β created an issue.
Perfect, thank you so much!
gmoraleb β created an issue.
I come from 1.0.0-alpha3 version and I have the following warning due to php 8.1v:
drupal.org/project/fullcalendar/issues/3363828 π PHP 8 deprecation error Needs review
So, for 8.x-1.x-dev version here is the patch to fix the warning on admin/config.
3215841-10.patch work for me.
Thanks
Hello @danielveza, I still have to check, I didn't have time, however, what I have seen at this moment in panels module(DisplayBuilder\StandardDisplayBuilder.php) version: 4.7.0.
It's related with the last warning of the issue:
Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder->buildRegions(Array, Array, '') (Line: 179)
Because the following function has been called with (value, null)
protected function buildRegions(array $regions, array $contexts)
And then without checking if it's empty, try to do
$this->contextHandler->applyContextMapping($block, $contexts);
What it's throwing:
* @throws \Drupal\Component\Plugin\Exception\ContextException
* Thrown when a context assignment was not satisfied.
I will continue checking and I will post it.
Thanks.
The patch https://www.drupal.org/files/issues/2018-09-19/2959132-taxo-17-PASS.patch β is not fixing the issue on my site.
Hello Daniel,
I don't use Drupal Commerce and it's very hard to find the steps to replicate or track because after upgrade I had problems everywhere, then I started to clean issues/warnings/deprecations and I found it.
If you need other version information or something else, tell me.
This is the error:
Drupal\Component\Plugin\Exception\ContextException: Assigned contexts were not satisfied: entity in Drupal\Core\Plugin\Context\ContextHandler->applyContextMapping() (line 145 of core/lib/Drupal/Core/Plugin/Context/ContextHandler.php).
Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder->buildRegions(Array, Array, '') (Line: 179)
Drupal\panels\Plugin\DisplayBuilder\StandardDisplayBuilder->build(Object) (Line: 189)
Drupal\panels_ipe\Plugin\DisplayBuilder\InPlaceEditorDisplayBuilder->build(Object) (Line: 338)
Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant->build() (Line: 398)
Drupal\panelizer\PanelizerEntityViewBuilder->buildPanelized(Object, Object, 'quick_event', NULL) (Line: 355)
Drupal\panelizer\PanelizerEntityViewBuilder->buildMultiplePanelized(Array, Array, 'quick_event', NULL) (Line: 273)
Drupal\panelizer\PanelizerEntityViewBuilder->view(Object, 'quick_event') (Line: 32)
Drupal\unfccc_event\Controller\UNFCCCEventQuickViewController->getEventQuickView('ajax', '633185')
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Hello,
I have the following issue:
Drupal\Component\Plugin\Exception\ContextException: Assigned contexts were not satisfied: entity in Drupal\Core\Plugin\Context\ContextHandler->applyContextMapping() (line 145 of core/lib/Drupal/Core/Plugin/Context/ContextHandler.php).
I think it's a similar issue, however, it's for 9.5.11v.
Hello,
I have the same problem in version 9.5.11 with PHP 8.1.26.
In my case I'm doing an upgrade from 8.9.20 to 9.5.11.
This fix works for me, however it was line 189.
Hello again,
I'm uploading the patch file to facilitate testing.
Best regards.
gmoraleb β changed the visibility of the branch 3412133-fakeobjects-plugin-duplicated to active.
gmoraleb β changed the visibility of the branch 3412133-fakeobjects-plugin-duplicated to hidden.
Hello there,
I have created a fork to work on this issue.
Thanks.
gmoraleb β made their first commit to this issueβs fork.
Hello,
I have created a PR with the solution.
Please, check it if it works in your environment asap and merge it :)
Thanks.
gmoraleb β made their first commit to this issueβs fork.
Tested and it works!