• Resolved kinghot

    (@kinghot)


    Hi,

    When activating this plugin, we saw this error:

    Parse error: syntax error, unexpected ‘[‘ in /srv/sites/marketplace/wp-content/plugins/timeline-express-html-excerpt-add-on/timeline-express-html-excerpts-add-on.php on line 64

    can you take a look at this?

    PHP information:
    PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Code Parrots

    (@codeparrots)

    Hi @kinghot,

    It sounds like you are running an outdated version of PHP. My recommendation would be to udate PHP to version 5.4 or later.

    Let us know if that helped solve the problem for you.

    Thread Starter kinghot

    (@kinghot)

    Thank for your response. I updated PHP to version :
    PHP 5.6.27 (cli) (built: Oct 14 2016 14:06:54)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

    still got this error:
    Fatal error: Call to a member function get() on null in /srv/sites/marketplace/wp-content/plugins/digital-publications-by-supsystic/modules/templates/mod.php on line 12

    I used WordPress version 4.6.1

    Plugin Contributor Code Parrots

    (@codeparrots)

    Hi Kinghot,

    The error you have pasted above is not related to our plugin. It looks like it’s coming from the plugin “Digital Publication”. You may want to post in their forum and ask what is going on.

    Hello kingho and Code

    The problem is if the plugin is in line 64 of the file

    Timeline-express-html-excerpts-add-on.php

    You must replace line 63 to 67 for this

    // Generate the HTML excerpt metabox
    Add_action (“timeline_express_metaboxes”, array ($ this, “define_custom_excerpt_metabox”));

    // Override the default announcement excerpts with HTML excerpt field
    Add_filter (“timeline_express_frontend_excerpt”, array ($ this, “replace_default_timeline_express_excerpt”), 10, 2);

    By webmasterenlinea.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘fatal error when activating this plugin’ is closed to new replies.