Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Adam Bissonnette

    (@mmanifesto)

    Ok – I think I’ve fixed this using MM_FileList::$attsKeyTemplate instead of $this::$attsKeyTemplate,. Can you try again?

    Thread Starter dancappdesign

    (@dancappdesign)

    Hi. I no longer need the plugin but neverthless have just tried to install for the purpose of testing your amendment. Sadly, it still doesn’t work for me – could be a comaptibility issue with the theme or something.

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home/sites/clearskydesign.co.uk/public_html/wp-content/plugins/mmm-file-list/mm_filelist_plugin.php on line 194

    Please don’t feel the need to fix this for my sake any longer, though I hope the recent changes fixes it for others.

    Plugin Author Adam Bissonnette

    (@mmanifesto)

    Hey Dan,

    That’s really strange that it’s not working. I almost think you must be running a different version of php if (considering the errors shown so far). That line 194 is using the array_map function which only works in version of php 4.06 and higher. By any chance are you running an earlier version?

    Plugin Author Adam Bissonnette

    (@mmanifesto)

    Ok – just to followup on this. I checked your site and it’s running php 5.2.17 which doesn’t like anonymous functions in array_map() which was causing the issue. I’ve cleared that up so version 1.2 should be perfectly usable.

    Sorry again that the code wasn’t working for you! I’ll make a point to check it out in multiple versions of php going forward.

    Thread Starter dancappdesign

    (@dancappdesign)

    Works perfectly now!!! Many thanks for your close attention to this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error – Cannot Activate Plugin’ is closed to new replies.