Support » Plugin: Strong Testimonials » Sudden fatal error that crashed website

  • Resolved earthnutvt

    (@earthnutvt)


    Hi there. My site suddenly crashed today because of a fatal error in this plugin. Here is the message: Fatal error: [] operator not supported for strings in /home/content/68/11937268/html/wp-content/plugins/strong-testimonials2/strong-testimonials.php on line 456. It killed my site. Can you help me understand this? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Chris Dillon

    (@cdillon27)

    I’m sorry for the crash. This may be a conflict with the theme. Please tell me what theme you are using and where I can download it.

    From the searches I’m seeing online, this should have nothing to do with the theme. In fact, I just fixed it by removing the “[]” from line 456 of strong-testimonials.php

    You might want to put out an update.

    The new line reads:
    $_wp_theme_features[‘post-thumbnails’][0] = ‘wpm-testimonial’;

    Plugin Contributor Chris Dillon

    (@cdillon27)

    That code was in place for almost 2 years without a problem. It is not a bug.

    You can always switch to a default theme like TwentySeventeen temporarily to see if a plugin or theme is at fault.

    WordPress now handles adding theme support for thumbnails better so the code was redundant and I removed it.

    Thank you for bringing it to my attention.

    I would still like to know about your theme because the only way I could break it, and therefore be confident it’s solved before publishing an update, was to make this incorrect function call in a theme:

    add_theme_support( 'post-thumbnails', 'post' );

    https://developer.wordpress.org/reference/functions/add_theme_support/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sudden fatal error that crashed website’ is closed to new replies.