Support » Plugin: Instapage WordPress Plugin » Changes in InstapageCmsPluginWPConnector.php break the site again

  • Please test with php5 before shipping new versions.

    If anyone have issues with parsing error @ InstapageCmsPluginWPConnector.php you have to change the following lines:

    
    return array(
            'body' => json_encode([
              'status' => 'ERROR',
              'message' => $response->get_error_message()
            ])
          );
    

    With:

    
    return (object) array('status' => 'ERROR', 'message' => $response->get_error_message());
    
Viewing 1 replies (of 1 total)
  • I had this exact issue. After a day of troubleshooting and downloading and uploading plugins, this simple fix finally made the plugin workable. Thank you for providing support and fixing InstaPage’s plugin for them!

Viewing 1 replies (of 1 total)
  • The topic ‘Changes in InstapageCmsPluginWPConnector.php break the site again’ is closed to new replies.