davey1975
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Here is my code but it doesn’t show any meta data:
<?php // Get Brand of Shoe custom field value $brand_of_shoe = isset($item['meta_data']['65d7a9ddeeef1']) ? $item['meta_data']['65d7a9ddeeef1'] : ''; if (!empty($brand_of_shoe)): ?> <div>Brand of Shoe: <?php echo esc_html($brand_of_shoe); ?></div> <?php endif; ?> <?php // Get Shoe Size custom field value $shoe_size = isset($item['meta_data']['65d7aab94cdbd']) ? $item['meta_data']['65d7aab94cdbd'] : ''; if (!empty($shoe_size)): ?> <div>Shoe Size: <?php echo esc_html($shoe_size); ?></div> <?php endif; ?>
Forum: Plugins
In reply to: [BA Plus - Before & After Image Slider FREE] Critical errorI’m getting a similar error message.
any help would be appreciated. seems to be coming from the cart-totals file?
CRITICAL Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, float given in /var/www/xxx.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php:353 intext:”Plugin: WooCommerce”Forum: Plugins
In reply to: [W3 Total Cache] PHP error after upgraded 2.3.0actually i received a fatal error after that fix.:
?Fatal error: Uncaught Error: syntax error, unexpected variable “$mime_types”, expecting “function” or “const”
in?C:\websites\mysite.com\wp-content\plugins\w3-total-cache\BrowserCache_Environment.php?on line?70Call stack:
w3tc_class_autoload()
wp-content/plugins/w3-total-cache/Root_Environment.php:172W3TC\Root_Environment::get_handlers()
wp-content/plugins/w3-total-cache/Root_Environment.php:26W3TC\Root_Environment::fix_in_wpadmin()
wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php:1017W3TC\Generic_Plugin_Admin::admin_notices()
wp-includes/class-wp-hook.php:308WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:332WP_Hook::do_action()
wp-includes/plugin.php:517do_action()
wp-admin/admin-header.php:303require_once()
wp-admin/plugins.php:605
Viewing 3 replies - 1 through 3 (of 3 total)