• Resolved fravaco

    (@fravaco)


    hi,

    The plugin won’t activate.
    This is the ‘fatal error’ message I recieve when trying to activate it.


    Parse error: syntax error, unexpected ‘[‘ in /customers/f/1/7/fravaco.be/httpd.www/thisis/wp-content/plugins/simple-discography/classes/SiDi_I18N_DateTime.php on line 26

    I hope this can be solved because I have high hopes in using this plugin.

    Regards,
    Fravaco

    https://wordpress.org/plugins/simple-discography/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author lermit4

    (@lermit4)

    hi,
    Could you tell me the PHP version you used.
    This allow me to reproduce the error, correct it and check the same time if all works right on this version of PHP.

    Regards,
    Lermit

    Plugin Author lermit4

    (@lermit4)

    Hi Fravaco,

    the problem should be solved in version 1.1.1. .
    I would like to inform if your problem with my plugin resolut.

    Kind regards,

    Thread Starter fravaco

    (@fravaco)

    Hi lermit4,

    Sorry for my late reaction. I had to go to work.
    Thank you for your quick response.
    Everything works perfect now 🙂

    Regards
    Fravaco

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

    Fatal error: Cannot redeclare new_excerpt_more() in /wp-content/plugins/simple-discography/simple-discography.php on line 71

    I did update the plugin to the newest one . and then it show this error !

    Plugin Author lermit4

    (@lermit4)

    Hello gurris,

    I must have solved your problem in the new 1.2.2 which will happen soon.

    you can solve your problem by replacing this code

    add_action( 'plugins_loaded', 'load_textdomain' );
    /**
     * Load plugin textdomain.
     *
     * @since 1.0.0
     */
    function load_textdomain() {

    with

    add_action( 'plugins_loaded', 'sidi_load_textdomain' );
    /**
     * Load plugin textdomain.
     *
     * @since 1.0.0
     */
    function sidi_load_textdomain() {

    regards

    Thanks I did it but now I get this error instead ,,,

    Parse error: syntax error, unexpected $end in /wp-content/plugins/simple-discography/simple-discography.php on line 137

    Plugin Author lermit4

    (@lermit4)

    You must be missing an open bracket “{” and closing “}” somewhere on this page.

    For my part, all seems to work fine.
    I suggest you to check the code that you have changed.

    regards

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Activation doesn't work’ is closed to new replies.