• Resolved elcoyotesurvives

    (@elcoyotesurvives)


    Today I replaced my TwentyTen theme with Buildr and installed the plugin pack. Now I get nothing but white screen. Debug log says:
    Parse error: syntax error, unexpected ‘[‘ in /inthewilderness/wp-content/plugins/buildr-features/inc/lib/Acid/includes/AcidWidget.php on line 132
    That line says:
    $defaults = [];
    inside
    public function widget( $args, $instance)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author smartcat

    (@smartcat)

    Hi there,

    the code $defaults = []; is completely fine. It’s basically initializing an empty array. There’s a lot more code in this plugin that will not work on any version lower than 5.4, which is why this plugin declares support only for PHP 5.4 and up.

    Buildr Features requires that you have PHP version 5.4, this is specified in the plugin readme, and declared on WordPress, see here: https://pasteboard.co/HnikH3r.png

    I highly recommend you upgrade your PHP version, anything before 5.4 is no longer supported and considered obsolete. Even 5.4 itself is pretty out-dated now. PHP is at version 7.2 currently. Please ensure you don’t use outdated versions of PHP, to prevent issues like this from happening with plugins.

    Thanks

    • This reply was modified 6 years, 9 months ago by smartcat.
    Thread Starter elcoyotesurvives

    (@elcoyotesurvives)

    Thank you. I don’t do a lot of updating on my blog, so I missed that. Sorry. I’m hosted by Yahoo and stuck at 5.3.6.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Buildr crashes my WordPress’ is closed to new replies.