Support » Plugin: Unlimited Custom Sidebars - Content Aware Sidebars » Latest version crashes 2 websites

  • Resolved underWorded

    (@underworded)


    Hi there, I’ve had to deactivate Content Aware Sidebars (version 3.8) on two websites, due to it crashing both sites. I have site monitors that alerted me both sites were down, and when I went into both via ftp, I saw the plugin was updated today, raising the possibility that the plugin was the cause.

    Upon de-activating the plugin the sites immediately came back up, and when reactivating they went down again with a 500 Internal Server Error, confirming that Content Aware Sidebars is the culprit. The plugin is currently disabled on both sites so they can at least function, but since a significant part of the site navigation is handled through CAS, please can you look into it as soon as possible, thanks.

    In the meantime, can I download the previous version from somewhere? I can stop all auto updates on both sites to stop the plugin from updating until this is resolved.

    EDIT:
    I managed to extract an older version of CAS – version 3.7.7 – from a site backup, so the sidebars are back and the sites are functioning, but please can you look at the latest version, some issue with it is definitely crashing both sites with a 500 Internal Server Error

    • This topic was modified 2 years, 1 month ago by underWorded.
    • This topic was modified 2 years, 1 month ago by underWorded.
    • This topic was modified 2 years, 1 month ago by underWorded.
    • This topic was modified 2 years, 1 month ago by underWorded.
    • This topic was modified 2 years, 1 month ago by underWorded.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 19 total)
  • What version of PHP are you running? In the change log it says that version 3.8 of Content Aware Sidebars now requires “minimum php version 5.6”.

    If you don’t know, there are several WordPress plugins which can show what version of PHP your server is running. For example:
    https://wordpress.org/plugins/query-monitor/ (advanced)
    https://wordpress.org/plugins/version-info/ (simpler)

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Thank you for reporting this.

    Does both websites run on the same server?
    What is the PHP and WP versions?
    Do you have any error logs that contains info/stacktrace about the problem? That would make it much easier to debug.

    You can always find previous versions here: https://wordpress.org/plugins/content-aware-sidebars/advanced/

    As @tomas-eklund mentions, this plugin now requires PHP5.6+, though this is still a “soft requirement” so it ought to work down to 5.2.4 (previous minimum requirement)

    Thread Starter underWorded

    (@underworded)

    Hi Joachim, thanks for the response, one server is running PHP 7.0.33 and the other PHP 5.6.40, so both are within requirements. I see the same issue on both sites.

    Also thanks to Tomas for his response 😉

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Do you have any error logs from the time when the sites crashed? Without it, it’s really hard to pinpoint what went wrong.

    That the sites run on 2 different servers suggest that it might be an incompatibility with another plugin.

    Thread Starter underWorded

    (@underworded)

    Unfortunately error logs were turned off in wp-config. What I do notice however is that the plugin Black Studio TinyMCE Widget, which is used on both sites, was updated on Friday. The most recent plugin after that was updated on Feb 6.

    I have a staging sub-domain for both sites. I’ll clone the live site back over one of them, and turn on debugging so I get an error log. I’ll disable all other plugins, update CAS to the latest version, then progressively enable plugins to see if one is conflicting, then let you know what happens 😉

    I have the same issue .. content aware sidebars is producing 500 error .. has anyone found a clash with a plugin?

    Thread Starter underWorded

    (@underworded)

    Hi fantasticant, I disabled all updates on both websites affected, then downloaded and installed the previous version. If you go here: https://wordpress.org/plugins/content-aware-sidebars/advanced/ and scroll to the bottom of the page, installing version 3.7.7 stopped the 500 error for me on both sites.

    I’m afraid I haven’t had time to go through the troubleshooting I mentioned above, I’m on a tight deadline for another client, will revert with my results when I do 🙂

    Thread Starter underWorded

    (@underworded)

    OK I seem to have tracked down the issue. When running the latest version of Caldera Forms (Version 1.7.6) with the latest version of CAS (Version 3.8), your get the following error, leaving the website unable to run:

    [your website] is currently unable to handle this request.
    HTTP ERROR 500

    I deactivated and reactivated Caldera Forms repeatedly with the same 500 error recurring. There appears to be some kind of conflict between the two plugins that crashes the websites.

    Caldera Forms (free version)

    Hi, I get this from my logs. The site loads the header and then stops. I have had the WooCommerce plugin installed on this site, but it is not installed now.

    Site running PHP 7.2, CAS 3.8.

    [24-Feb-2019 02:44:23 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_shop() in /var/sites/c/careanimalrights.org/public_html/wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/core.php:796
    Stack trace:
    #0 /var/sites/c/careanimalrights.org/public_html/wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/core.php(297): WPCACore::fix_wp_query()
    #1 /var/sites/c/careanimalrights.org/public_html/wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/core.php(436): WPCACore::get_conditions('sidebar')
    #2 /var/sites/c/careanimalrights.org/public_html/wp-content/plugins/content-aware-sidebars/sidebar.php(345): WPCACore::get_posts('sidebar')
    #3 /var/sites/c/careanimalrights.org/public_html/wp-includes/class-wp-hook.php(286): CAS_Sidebar_Manager->replace_sidebar(Array)
    #4 /var/sites/c/careanimalrights.org/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
    #5 /var/sites/c/careanimalrights.org/public_html/wp-includes/widgets.php(963): apply_filters('sidebars_widget...' in /var/sites/c/careanimalrights.org/public_html/wp-content/plugins/content-aware-sidebars/lib/wp-content-aware-engine/core.php on line 796
    Thread Starter underWorded

    (@underworded)

    Hi Paul, revert to CAS 3.7 by downloading here: https://wordpress.org/plugins/content-aware-sidebars/advanced/

    Then disable automatic updates on plugins until this is fixed. Not a great or even medium-term solution I know, but at least your website will be up and running with your custom sidebars again.

    Thanks, @underworded, I’ve done just that.

    Thread Starter underWorded

    (@underworded)

    Hi Joachim, any word yet? 😉

    Thread Starter underWorded

    (@underworded)

    Paul, I wanted to ask you, do you have Caldera forms installed?

    @underworded No, and never have had. The forms plugin I have installed right now is WPForms Pro, and there is also the contact form module that the theme (Themify Ultra) provides.

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Thanks everyone for following up on this, and thank you for the stack trace @paullawleyjones

    Looks like a conflict with WooCommerce, does everyone here use that plugin?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Latest version crashes 2 websites’ is closed to new replies.