Error In Main theme and Coupon Theme S2 after adding coupons

WordPress Business Themes Forums Responsive Themes Coupon Theme Error In Main theme and Coupon Theme S2 after adding coupons

Error In Main theme and Coupon Theme S2 after adding coupons

April 19, 2018
Amardeep Amardeep
  • Amardeep
    Amardeep
    Newbie 10 points

    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

    April 19, 2018 at 7:18 pm
  • JamesD
    JamesD
    Super Guru 912 points

    Hello Amardeep,

    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.

    April 19, 2018 at 11:28 pm
  • Amardeep
    Amardeep
    Newbie 10 points

    no constant ‘WP_DEBUG found.

    April 20, 2018 at 11:22 am
  • JamesD
    JamesD
    Super Guru 912 points

    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.

    April 20, 2018 at 6:56 pm
Viewing 4 posts - 1 through 4 (of 4 total)

Didn't find what you were after?

Chat with us now

or contact our support team