Error In Main theme and Coupon Theme S2 after adding coupons

  • 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


    JamesD
    JamesD
    Titan
     
    671 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.


    Amardeep
    Amardeep
    Newbie
     
    10 points

    no constant ‘WP_DEBUG found.


    JamesD
    JamesD
    Titan
     
    671 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.


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.