WordPress.org

Ready to get started?Download WordPress

Forums

RecipePress reloaded
[resolved] Can't activate plugin after installation (6 posts)

  1. ainow
    Member
    Posted 2 months ago #

    Hi,

    I can't activate your plugin after installation (v. 0.5.5). Just get this error:
    Parse error: syntax error, unexpected '[' in /.../wp-content/plugins/recipepress-reloaded/php/class/rpr_migration.php on line 232

    Could you help me?

    Jurek

    https://wordpress.org/plugins/recipepress-reloaded/

  2. Jan Koester
    Member
    Plugin Author

    Posted 2 months ago #

    Could you please tell me which version of wordpress and PHP you are using?

    You could also try to replace line 232 $taxonomies = get_option('recipe-press-options')['taxonomies']; by `$options = get_option('recipe-press-options');
    $taxonomies = $options['taxonomies'];`

  3. ainow
    Member
    Posted 2 months ago #

    Thanks for you responce!
    I'm using PHP ver. 5.3.23.

    Unfortunetly, after replace line 232 as you suggest, I get blank page.

  4. Jan Koester
    Member
    Plugin Author

    Posted 2 months ago #

    I need to further investigate this issue which seems to be related to the PHP version you are using. However I won't have time for this until monday, so please be patient.

  5. Jan Koester
    Member
    Plugin Author

    Posted 2 months ago #

    This error should be fixed in release 0.5.6.
    In my development environment I'm using PHP 3.4.4 and did not even get a warning about line 232. However I've changed it so it should work for you.
    Please tell me if you are still experiencing problems.

  6. ainow
    Member
    Posted 2 months ago #

    Yeah! Works like a charm! Thanks a lot!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.