When I have Bricks enabled, I get a Fatal Error with the PDF Product Vouchers plugin.
Attached is the error message from the log:
[02-Oct-2023 08:22:00 UTC] PHP Fatal error: Uncaught ValueError: Unknown format specifier "A" in /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/woocommerce/elements/product-content.php:23
Stack trace:
#0 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/woocommerce/elements/product-content.php(23): sprintf('<a href="https:...', 'Bearbeiten Sie ...')
#1 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/elements/base.php(113): Bricks\Product_Content->set_controls()
#2 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/elements.php(179): Bricks\Element->load()
#3 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/elements.php(163): Bricks\Elements::load_element('product-content')
#4 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-includes/class-wp-hook.php(310): Bricks\Elements::load_elements(Object(WP))
#5 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#6 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#7 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-includes/class-wp.php(796): do_action_ref_array('wp', Array)
#8 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-includes/functions.php(1335): WP->main(Array)
#9 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-admin/includes/post.php(1283): wp(Array)
#10 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-admin/includes/class-wp-posts-list-table.php(165): wp_edit_posts_query()
#11 /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-admin/edit.php(235): WP_Posts_List_Table->prepare_items()
#12 {main}
thrown in /www/htdocs/w01c2e29/shop.entwurf.xyz/wp-content/themes/bricks/includes/woocommerce/elements/product-content.php on line 23
Line 23 has the following in it:
'content' => $edit_link ? sprintf( '<a href="' . $edit_link . '" target="_blank">%s</a>', $label ) : $label, ];
However, if I deactivate Bricks and activate the default theme, everything works without problems.
What could be the problem?
Thank you very much.