It will throw an error, because none of the elements in those queries exist. If you don‘t know if the elements exist or not, you will require to wrap all the code in conditions or use optional ...
Place a copy of this repo at ./wp-content/plugins/wpqjx in your WordPress installation. Activate plugin Add ajax-output markup to site via html or shortcode Ajax ...