PHP error

Home Forums WordPress Themes PHP error

This topic contains 11 replies, has 5 voices, and was last updated by Kevin Sobo Kevin Sobo 2 months, 1 week ago.

Website URL: https://bigdeals.africa/
Theme:
Purchase Code: Please provide correct purchase code

  • Author
    Posts
  • #35220

    Nonhlanhla Nyandeni
    Participant

    Good day,

     

    I am trying to update a Facebook Pixel code on our head tag and we getting the below error
    <p class=”p1″><span class=”s1″>”Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”</span></p>
    Please assist

    NoNo

  • #35234

    -hostexp
    Participant

    I don’t understand what you did,
    Please tell more details and give me attachments
    Thanks

  • #35271

    Nonhlanhla Nyandeni
    Participant

    See below attachment

    Attachments:
    You must be logged in to view attached files.
  • #35274

    -hostexp
    Participant

    Can you give me wp-admin details that I can check,
    And give me code that you insert to the header
    Thanks

  • #35278

    Nonhlanhla Nyandeni
    Participant

    nono@kompare.co.za

    Owi1Tab@k8U1U&l#wRrxpLSL

     

    Code:

    <!– Facebook Pixel Code –>

    <script>

    !function(f,b,e,v,n,t,s)

    {if(f.fbq)return;n=f.fbq=function(){n.callMethod?

    n.callMethod.apply(n,arguments):n.queue.push(arguments)};

    if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;

    n.queue=[];t=b.createElement(e);t.async=!0;

    t.src=v;s=b.getElementsByTagName(e)[0];

    s.parentNode.insertBefore(t,s)}(window, document,’script’,

    https://connect.facebook.net/en_US/fbevents.js‘);

    fbq(‘init’, ‘851089768288120’);

    fbq(‘track’, ‘PageView’);

    </script>

    <noscript><img height=”1″ width=”1″ style=”display:none”

    src=”https://www.facebook.com/tr?id=851089768288120&ev=PageView&noscript=1

    /></noscript>

    <!– End Facebook Pixel Code –>

  • #35280

    -hostexp
    Participant

    I just check your site and there is no error on your site,
    But if you want to change code in our theme you need change by using FTP

  • #35287

    Nonhlanhla Nyandeni
    Participant

    But when i update the code on the test site it works

    How is that possible?

  • #35294

    -hostexp
    Participant

    You should modify our theme by FTP,
    If you modify in WP-admin, this can cause PHP error.

  • #35728

    Nonhlanhla Nyandeni
    Participant

    Hi Support,

    I have logged this query before.

    I am trying to edit a header.php and the portal is not allowing me.

    I was advised to log into the themes ftp then download the index so that i can edit it but that its failing also.

    I really need a solution to this asap.

    NoNo

  • #35740

    David
    Keymaster

    Hi,
    Please provide admin and FTP account. We will check it

    Kind regards
    RT team

  • #38775
    This reply has been marked as private.
  • #38785
    Kevin Sobo
    Kevin Sobo
    Keymaster

    Pls, you provide full information ( user name and password ) forĀ  FTP and Admin WP

     

You must be logged in to reply to this topic.

Browser our premium, beautiful WooCommerce WordPress themes for your online store