• Resolved makibird

    (@makibird)


    Hi there

    When I attempt to activate this plugin, it fails and gives the following error.

    Parse error: syntax error, unexpected ‘[‘ in /wp-content/plugins/complete-open-graph/src/Settings.php on line 304 which is this section:

     public function cb_field_image() {
    

    $imageURL = wp_get_attachment_image_src(Utilities::get_option(‘og:image’), ‘medium’)[0];
    ` ?>

    Could you tell me how to resolve this? Thanks!

    • This topic was modified 7 years, 4 months ago by makibird. Reason: Fixing formatting
    • This topic was modified 7 years, 4 months ago by makibird.
    • This topic was modified 7 years, 4 months ago by makibird.
    • This topic was modified 7 years, 4 months ago by makibird.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error on activation’ is closed to new replies.