Hi
Vantage Version: 1.4.2
Wordpress Version 5.0.2
I’ve updated to the above settings and find a plugin no longer works.
The plugin is ‘Easy Appointments’, and the page it is on is now blank.
The plugin uses bootstrap and was previously working fine. If I switch to standard view (not bootstrap) within the plugin it does view but there is php info at the bottom of the page, and the appointments form does not work.
Also when I change themes to WordPress 2019 or 2015 etc. it views and works fine so tends to suggest a conflict within Vantage?
However it does work fine on another site running WordPress 4.9 and Vantage 1.4.2?
Any ideas would be much appreciated.
Thanks for your time.
Regards
Nigel
Hi Nigel,
Can you please provide me with the PHP Info you mentioned? I suspect that info is actually provide insight as to what is specifically causing this issue.
Hi Alex
Thanks for getting back so quickly.
Here is a screen grab of the error on the easy appointments form.
http://sixmile.info/easy_appointments_form_error.jpg
Thanks again,
Nigel
Hi Nigel,
Thanks. That looks like you’re experiencing a JavaScript error and that’s preventing the JS template that Easy Appointments is using. Would it be possible for you to link me to a page where I can see this issue? If not, can you please replicate this issue again and then could you please send me the contents of your console? Please refer to this guide on how to access your browser console.
Hi Alex
Thanks for this. The site is very much a test site where I first update the theme and WordPress and where I test plugins before applying to live sites.
The page in question is here:
http://www.sixmile.info/wpshoplite/appointments/
Thanks again,
Nigel
Hi Nigel,
I’ve had a look at the linked page and I can’t seem to see what you’re seeing in the provided screenshot. Is this issue still occurring for you? If so, can you please send me the contents of your console when viewing that page?
Hi Alex
It’s not until you fill in the form that the stuff appears at the bottom of the page. As soon as you choose a time under the calendar the coding appears at the bottom of the page.
Thanks,
Nigel
Hi Nigel,
Thanks. I’m not seeing any error messages. Hm. Can you try disabling all non-SiteOrigin plugins and see if this fixes the issue? You’ll need to clear all your caches after disabling your plugins.
If it does fix the issue, then try re-enabling your plugins one by one until the issue comes back. This procedure will help diagnose which plugin is causing the issue.
Once we know that, we’ll be able to look at what might be causing the conflict and either solve the problem or help you find an alternative plugin.
Hi Alex
Thank you so much for your help on this.
It actually wasn’t a plugin conflict. I had previously added the code below in my child functions file.
This was causing the problem:
/**
* Remove empty paragraphs created by wpautop()
* @author Ryan Hamilton
* @link https://gist.github.com/Fantikerz/5557617
*/
function remove_empty_p( $content ) {
$content = force_balance_tags( $content );
$content = preg_replace( ‘#
\s*+(
)?\s*
#i’, ”, $content );
$content = preg_replace( ‘~\s?
(\s| )+
\s?~’, ”, $content );
return $content;
}
add_filter(‘the_content’, ‘remove_empty_p’, 20, 1);
I had wanted to get rid of the empty p tags WordPress was putting in automatically.
Thanks again for your help,
Nigel
Hi Nigel,
I’m glad to hear you were able to resolve this issue. I’m sorry I wasn’t able to be of assistance this time. Please be sure to post another thread if you have any other questions.
Hi Alex
Much appreciated, your support did help.
Thread closed.
Regards
Nigel