PHP Warning: Illegal string offset 'var'

Discussion in 'Integration' started by bennyuk1, Jun 26, 2018.

  1. bennyuk1

    bennyuk1 aMember Pro Customer

    Joined:
    Jan 12, 2012
    Messages:
    200
    I'm getting the following error on upgrading to php 7.1

    AH01071: Got error 'PHP message: PHP Warning: Illegal string offset 'var' in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/amember4/shortcodes.php on line 132\nPHP message: PHP Warning: Illegal string offset 'var' in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/amember4/shortcodes.php on line 133\nPHP message: PHP Warning: Illegal string offset 'var' in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/amember4/shortcodes.php on line 132\nPHP message: PHP Warning: Illegal string offset 'var' in /var/www/vhosts/xxx/httpdocs/wp-content/plugins/amember4/shortcodes.php on line 133\n'

    any ideas?
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Hello,

    You need to update amember4 plugin to latest version too.
    Please contact us in helpdesk
    https://www.amember.com/support

    We will send you archive with latest version of plugin.

    Best Regards.
  3. bennyuk1

    bennyuk1 aMember Pro Customer

    Joined:
    Jan 12, 2012
    Messages:
    200
    I have done that, from the fresh 5.5.1 install files.
    Now in config I'm getting errors
    {"data":false,"error":"This is not a valid Wordpress installation"}
    when trying to test connection.
    I'll contact you through helpdesk now

Share This Page