Symptoms

  1. Cannot save/list the snapshots in WPB editor:

    error: Invalid response from server
    
  2. The log of Presence Builder (sitebuilder.log) contain the error messages (can also be found with firebug):

    2017-01-05T17:16:28+01:00       [EMERG] /JsonApi/       Base_SyntaxException: DOMDocument::loadXML(): Empty string supplied as input
    

Cause

Shanpshot file(s) have zero size, and WPB cannot interpret it when the list of snapshots is requested.

Resolution

Find and remove empty snapshot files from the folder (replace the webspace it with actual one):

find /var/www/vhosts/1/101101/webspace/siteapps/ParallelsPresenceBuilder-282832/htdocs/data/snapshots/ -type f -size 0 | xargs rm 

Internal content

Link on internal Article