Clicking on an abandoned cart raises an error:
Neither the property "taxName" nor one of the methods "taxName()", "gettaxName()"/"istaxName()"/"hastaxName()" or "__call()" exist and have public access in class "stdClass".
Here's the complete error:
1. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/verbb/snipcart/src/templates/cp/_parts/cart-items.htmlat line 131
122123124125126127128129130131132133134135136137138139140 <td style="text-align: right;">
{{- craft.snipcart.formatCurrency(order.shippingInformation.fees, order.currency) -}}
</td>
</tr>
{% endif %}
{% for tax in order.taxes %}
<tr>
<td colspan="3">
{{- tax.taxName }} ({{ tax.taxRate }})
</td>
<td style="text-align: right;">
{{- craft.snipcart.formatCurrency(tax.amount, order.currency) -}}
</td>
</tr>
{% endfor %}
{% if hasPromoCodes and order.promocodes is defined %}
2. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/helpers/Template.php at line 129– twig_get_attribute(craft\web\twig\Environment, Twig\Source, stdClass, 'taxName', ...)
123124125126127128129130131132133134135 if (is_object($value) && get_class($value) === Markup::class) {
$arguments[$key] = (string)$value;
}
}
try {
return twig_get_attribute($env, $source, $object, $item, $arguments, $type, $isDefinedTest, $ignoreStrictCheck);
} catch (UnknownMethodException $e) {
// Copy twig_get_attribute()'s BadMethodCallException handling
if ($ignoreStrictCheck || !$env->isStrictVariables()) {
return null;
}
throw new RuntimeError($e->getMessage(), -1, $source);
3. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/verbb/snipcart/src/templates/cp/_parts/cart-items.html at line 131– craft\helpers\Template::attribute(craft\web\twig\Environment, Twig\Source, stdClass, 'taxName', ...)
125126127128129130131132133134135136137 </tr>
{% endif %}
{% for tax in order.taxes %}
<tr>
<td colspan="3">
{{- tax.taxName }} ({{ tax.taxRate }})
</td>
<td style="text-align: right;">
{{- craft.snipcart.formatCurrency(tax.amount, order.currency) -}}
</td>
</tr>
4. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 394– [__TwigTemplate_ee36b3280bada7f7832c75d071111c2e::doDisplay](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_doDisplay)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], [])
5. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 367– [Twig\Template::displayWithErrorHandling](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayWithErrorHandling)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], [])
6. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/verbb/snipcart/src/templates/cp/abandoned-carts/detail.html at line 47– [Twig\Template::display](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_display)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...])
41424344454647484950515253 </div>
<div class="mt-6 md:w-1/2 md:mt-0">
<h3>{{ 'Items' | t('snipcart') }}</h3>
{% include "snipcart/cp/_parts/cart-items" with {
order: abandonedCart,
type: 'abandonedCart'
} %}
</div>
</div>
<div class="block">
7. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 171– [__TwigTemplate_049b2d2cb62ac930bbddfc756e54fcac::block_content](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_block_content)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
8. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/templates/_layouts/cp.twig at line 268– [Twig\Template::displayBlock](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayBlock)('content', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
262263264265266267268269270271272273274 },
} %}
{% endif %}
</header>
{% endif %}
{% block content %}
{{ content is defined ? content|raw }}
{% endblock %}
{# footer #}
{% if footer %}
<div id="footer" class="flex flex-justify">
9. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 171– [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd::block_main](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_block_main)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
10. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/templates/_layouts/cp.twig at line 246– [Twig\Template::displayBlock](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayBlock)('main', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
240241242243244245246247248249250251252
{# content-container #}
<div id="content-container">
{% if sidebar %}
<h2 id="content-heading"></h2>
{% endif %}
{% block main %}
{% if errorSummary is not empty %}
{{ errorSummary is defined ? errorSummary|raw }}
{% endif %}
<div id="content" class="content-pane">
{% if contentNotice or tabs %}
<header id="content-header" class="pane-header">
11. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 171– [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd::block_body](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_block_body)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
12. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/templates/_layouts/base.twig at line 58– [Twig\Template::displayBlock](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayBlock)('body', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
5253545556575859606162 // See: http://stackoverflow.com/questions/18943276/html-5-autofocus-messes-up-css-loading/18945951#18945951
</script>
{% endblock %}
</head>
<body {{ attr(bodyAttributes) }}>
{{ beginBody() }}
{% block body %}{% endblock %}
{% block foot %}{% endblock %}
{{ endBody() }}
</body>
</html>
13. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 394– [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3::doDisplay](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_doDisplay)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
14. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 367– [Twig\Template::displayWithErrorHandling](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayWithErrorHandling)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['head' => [__TwigTemplate_8d07302780bbf666f38b7593ec9cf5d3, 'block_head'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], ...])
15. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/templates/_layouts/basecp.twig at line 1– [Twig\Template::display](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_display)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], ...])
1234567{% extends "_layouts/base" %}
{# Give the body a .mobile class for mobile devices #}
{% if craft.app.request.isMobileBrowser(true) %}
{% set bodyClass = (bodyClass ?? [])|explodeClass|push('mobile') -%}
{% endif %}
16. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 394– [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4::doDisplay](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_doDisplay)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], ...])
17. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 367– [Twig\Template::displayWithErrorHandling](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayWithErrorHandling)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['foot' => [__TwigTemplate_96e52fef263adee161a8ab43c4f922c4, 'block_foot'], 'body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], ...])
18. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/templates/_layouts/cp.twig at line 42– [Twig\Template::display](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_display)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], 'pageTitle' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_pageTitle'], ...])
36373839404142434445464748│ │ │ │ └──────────────────────────────────────────────────────────┘ │ │
│ └─────┘ └──────────────────────────────────────────────────────────────────┘ │
│ │
└────────────────────────────────────────────────────────────────────────────────────┘
#}
{% extends '_layouts/basecp.twig' %}
{# The control panel only supports queue components that implement QueueInterface #}
{% set queue = craft.app.queue %}
{% js %}
{% if queue is instance of("craft\\queue\\QueueInterface") %}
Craft.cp.setJobInfo({{ queue.getJobInfo(100)|json_encode|raw }}, false);
19. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 394– [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd::doDisplay](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_doDisplay)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], 'pageTitle' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_pageTitle'], ...])
20. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 367– [Twig\Template::displayWithErrorHandling](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayWithErrorHandling)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['body' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_body'], 'mainFormAttributes' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_mainFormAttributes'], 'header' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_header'], 'pageTitle' => [__TwigTemplate_ba4b1cebce8bc3148a394eb57cf239fd, 'block_pageTitle'], ...])
21. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/verbb/snipcart/src/templates/cp/abandoned-carts/detail.html at line 1– [Twig\Template::display](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_display)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['content' => [__TwigTemplate_049b2d2cb62ac930bbddfc756e54fcac, 'block_content']])
1234567{% extends '_layouts/cp' %}
{% do view.registerAssetBundle('verbb\\snipcart\\assetbundles\\SnipcartAsset') %}
{% set crumbs = [
{ label: craft.snipcart.getPluginName(), url: url('snipcart') },
{ label: 'Abandoned Carts' | t('snipcart'), url: url('snipcart/abandoned') }
22. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 394– [__TwigTemplate_049b2d2cb62ac930bbddfc756e54fcac::doDisplay](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_doDisplay)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['content' => [__TwigTemplate_049b2d2cb62ac930bbddfc756e54fcac, 'block_content']])
23. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 367– [Twig\Template::displayWithErrorHandling](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_displayWithErrorHandling)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart, 'craft' => craft\web\twig\variables\CraftVariable, 'currentSite' => craft\models\Site, 'currentUser' => craft\elements\User, ...], ['content' => [__TwigTemplate_049b2d2cb62ac930bbddfc756e54fcac, 'block_content']])
24. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Template.php at line 379– [Twig\Template::display](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_display)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart])
25. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/TemplateWrapper.php at line 40– [Twig\Template::render](http://twig.sensiolabs.org/api/2.x/Twig/Template.html#method_render)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart], [])
26. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/twig/twig/src/Environment.php at line 277– [Twig\TemplateWrapper::render](http://twig.sensiolabs.org/api/2.x/Twig/TemplateWrapper.html#method_render)(['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart])
27. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/web/View.php at line 482– [Twig\Environment::render](http://twig.sensiolabs.org/api/2.x/Twig/Environment.html#method_render)('snipcart/cp/abandoned-carts/deta...', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart])
476477478479480481482483484485486487488
// Render and return
$renderingTemplate = $this->_renderingTemplate;
$this->_renderingTemplate = $template;
try {
$output = $this->getTwig()->render($template, $variables);
} finally {
$this->_renderingTemplate = $renderingTemplate;
$this->setTemplateMode($oldTemplateMode);
}
$this->afterRenderTemplate($template, $variables, $templateMode, $output);
28. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/web/View.php at line 535– craft\web\View::renderTemplate('snipcart/cp/abandoned-carts/deta...', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart])
529530531532533534535536537538539540541
$isRenderingPageTemplate = $this->_isRenderingPageTemplate;
$this->_isRenderingPageTemplate = true;
try {
$this->beginPage();
echo $this->renderTemplate($template, $variables);
$this->endPage();
} finally {
$this->_isRenderingPageTemplate = $isRenderingPageTemplate;
$this->setTemplateMode($oldTemplateMode);
$output = ob_get_clean();
}
29. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/web/TemplateResponseFormatter.php at line 57– craft\web\View::renderPageTemplate('snipcart/cp/abandoned-carts/deta...', ['abandonedCart' => verbb\snipcart\models\snipcart\AbandonedCart], 'cp')
51525354555657585960616263 ) {
$view->registerAssetBundle(ContentWindowAsset::class);
}
// Render and return the template
try {
$response->content = $view->renderPageTemplate($behavior->template, $behavior->variables, $behavior->templateMode);
} catch (Throwable $e) {
$previous = $e->getPrevious();
if ($previous instanceof YiiExitException) {
// Something called Craft::$app->end()
if ($previous instanceof ExitException && $previous->output !== null) {
echo $previous->output;
30. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/yiisoft/yii2/web/Response.php at line 1100– craft\web\TemplateResponseFormatter::format(craft\web\Response)
31. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/craftcms/cms/src/web/Response.php at line 337– [yii\web\Response::prepare](https://www.yiiframework.com/doc-2.0/yii-web-response.html#prepare()-detail)()
331332333334335336337338339340341342343
/**
* @inheritdoc
*/
protected function prepare(): void
{
parent::prepare();
$this->_isPrepared = true;
}
/**
* Clear the output buffer to prevent corrupt downloads.
*
32. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/yiisoft/yii2/web/Response.php at line 340– craft\web\Response::prepare()
33. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/vendor/yiisoft/yii2/base/Application.php at line 390– [yii\web\Response::send](https://www.yiiframework.com/doc-2.0/yii-web-response.html#send()-detail)()
34. in /Users/Scandella/Documents/dev_repo/dev_web/manufacture/dev/web/index.php at line 12– [yii\base\Application::run](https://www.yiiframework.com/doc-2.0/yii-base-application.html#run()-detail)()
6789101112// Load shared bootstrap
require dirname(__DIR__) . '/bootstrap.php';
// Load and run Craft
/** @var craft\web\Application $app */
$app = require CRAFT_VENDOR_PATH . '/craftcms/cms/bootstrap/web.php';
$app->run();
Describe the bug
Clicking on an abandoned cart raises an error:
Neither the property "taxName" nor one of the methods "taxName()", "gettaxName()"/"istaxName()"/"hastaxName()" or "__call()" exist and have public access in class "stdClass".
Here's the complete error:
Steps to reproduce
Craft CMS version
Craft Pro 4.5.13
Plugin version
2.1.2
Multi-site?
No
Additional context
No response