WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Posts Timeline
Fatal Error at Activation (5 posts)

  1. sloukidis
    Member
    Posted 1 year ago #

    When i try to activate the plugin Fatal Error shows up.

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected 'elseif' (T_ELSEIF) in C:\xampp\htdocs\Sites\fonsperitiae\wp-content\plugins\wordpress-posts-timeline\inc\timeline_options.php on line 182

    http://wordpress.org/extend/plugins/wordpress-posts-timeline/

  2. little_kostas
    Member
    Posted 1 year ago #

    I am also getting the same erron when i am trying to activate the plugin. Sloukidis have you found any solution for this??

  3. little_kostas
    Member
    Posted 1 year ago #

    Hi, i found the sollution. In line arround 176 change <? to <?php and that should work fine.

  4. globaltimoto
    Member
    Posted 11 months ago #

    Thanks little_kostas

  5. michael.aaron.hyde
    Member
    Posted 5 months ago #

    Hello,

    1. Is it possible there is another error as it appears this reported error (line ~176) has been resolved?

    2. Also, is it possible that my remote server is allowing such errors to pass through the PHP engine without fatal fault. I am running the same plugin remotely (PHP 5.4) and on XAMPP 1.8.2 / PHP 5.4.

    3. Is is possible to allow my local PHP to allow such errors?

    Thanks

    UPDATE
    Editing local php.ini and turning ON short_open_tag allowed the plugin to load.

    Perhaps this is why short_open_tag should not be used in redistributed code on different server environments.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.