You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -78,21 +75,9 @@ public function __invoke(ShortcodeInterface $shortcode)
78
75
),
79
76
$this->renderer
80
77
);
81
-
} catch (\InvalidArgumentException$exception) {
78
+
} catch (InvalidArgumentException$exception) {
82
79
if ('esi' === $this->renderer) {
83
-
thrownew \InvalidArgumentException(
84
-
'An InvalidArgumentException occured while trying to render the shortcode '
85
-
.$shortcode->getShortcodeText().'. You\'ve probably tried to use the ESI rendering strategy for '
86
-
.'your shortcodes while handling a request that contained non-scalar values as part of URI '
87
-
.'attributes. This can happen e.g. when using Param Converters for your original controller '
88
-
.'action, as the request (containing the conversion result) is automatically passed to the call of '
89
-
.'the shortcode controller to allow context sensitive shortcodes. You could use '
90
-
.'Webfactory\ShortcodeBundle\Handler\EmbeddedShortcodeHandler.inline as parent in your '
91
-
.'shortcode\'s service defintion, so that the inline instead of ESI rendering strategy will be '
92
-
.'used.',
93
-
0,
94
-
$exception
95
-
);
80
+
thrownewInvalidArgumentException('An InvalidArgumentException occured while trying to render the shortcode '.$shortcode->getShortcodeText().'. You\'ve probably tried to use the ESI rendering strategy for '.'your shortcodes while handling a request that contained non-scalar values as part of URI '.'attributes. This can happen e.g. when using Param Converters for your original controller '.'action, as the request (containing the conversion result) is automatically passed to the call of '.'the shortcode controller to allow context sensitive shortcodes. You could use '.'Webfactory\ShortcodeBundle\Handler\EmbeddedShortcodeHandler.inline as parent in your '.'shortcode\'s service defintion, so that the inline instead of ESI rendering strategy will be '.'used.', 0, $exception);
0 commit comments