• Resolved Ben

    (@kre8tiv)


    can’t setup the plugin, because on options page it displays:

    Fatal error: Only variables can be passed by reference in wp-content/plugins/optimizely/config.php on line 8

    the line in config.php is:
    <% _.each( goalOptions, function( goalOption ) { %>

    does anybody knows a solution?

    thanks a lot!

    https://www.ads-software.com/plugins/optimizely/

Viewing 1 replies (of 1 total)
  • Plugin Author moravemj

    (@moravemj)

    from a forum post on theme.co

    “After much investigating, I was able to isolate the problem here. It has to do with your PHP configuration. In the templates file, we output Javascript Templates as scripts (similar to many WP features) and use the standard <% %> tags for interpolation.

    It looks like your PHP server has ASP tags enabled which would cause that code to attempt running as PHP before the template file it outputted.

    You’ll need to turn off ASP tags in your php.ini file. (https://php.net/manual/en/ini.core.php#ini.asp-tags)

    If you’re unsure how to do this, you may need to contact your host.”

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.