• Hi,

    It look like your plugin is breaking some wordpress ajax call when it is activated.

    In the zoho-campaigns/php/signup-formpage.php file you will see that there is some html outside the php zc_init function (I guessed) at line 1368 and 1835 so it is getting generated everywhere in the wordpress admin because the signup-formpage.php is being included by the zoho-campaigns/Zoho-Campaigns.php at line 51.

    My guess is that these html blocks need to be within the zc_init function, but I will let you guys fix this.

    Here is an example of the source code of the /wp-admin/upload.php page when you plugin is activated and as you can see there is some HTML before the wordpress HTML.

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=Edge">
            <script type="text/javascript">
                zc_pluginDir = "/wp-content/plugins/zoho-campaigns";
                var zc_all_idval = new Array();
                var zc_unsaved_idval = new Array();
                var zc_saved_idval = new Array();
                var zc_saved_page = false;
            </script>
        </head>
        <body>    </body>
    </html>
    <!DOCTYPE html>
    <!--[if IE 8]>
    <html xmlns="http://www.w3.org/1999/xhtml" class="ie8 wp-toolbar"  lang="en-CA">
    <![endif]-->
    <!--[if !(IE 8) ]><!-->
    <html xmlns="http://www.w3.org/1999/xhtml" class="wp-toolbar"  lang="en-CA">
    <!--<![endif]-->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Media Library &lsaquo — WordPress</title>
    

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Zoho Campaigns

    (@zoho-campaigns)

    @sgaudreau

    We got the issue resolved and updated on our end, please check and confirm whether everything is working fine on your end.

    Regards,
    Santhosh | Zoho Campaigns.

Viewing 1 replies (of 1 total)

The topic ‘Plugin is breaking wordpress admin ajax calls and source’ is closed to new replies.