WordPress Business Themes › Forums › Responsive Themes › Coupon Theme › Error In Main theme and Coupon Theme S2 after adding coupons
it shows “wp-content/themes/CP/framework/class/class_shortcodes.php on line 1796” error after publishing stores and listing.
Warning: Illegal string offset ‘class’ in
Warning: Cannot assign an empty string to a string offset in /home/xxx/webapps/xxx/wp-content/themes/CP/framework/class/class_shortcodes.php on line 1796
I’d recommend checking your ‘wp-config.php’ file and make sure the constant ‘WP_DEBUG’ is set to false (whenever you’re finished with your debugging).
Note: PHP “Warning” messages being displayed can alter the page view/design look, but aren’t typically critical enough to break the site functionality and normally aren’t displayed unless some sort of ‘debugging’ setting has been turned on somewhere.
no constant ‘WP_DEBUG found.
You’ll need to find where displaying errors is being set.
Note: This isn’t something that is usually set within the theme by default and the config file setting would be the “proper” place to turn on debugging/messages.
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team