PHP Warning: Undefined array key 1… /vc-custom-heading.php on line 138

This topic has 15 replies, 4 voices, and was last updated 3 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: robjwatson
    Robert
    Participant
    July 10, 2024 at 10:51

    My www-error.log is full of php warnings on all domains running xstore

    [10-Jul-2024 02:01:23 UTC] PHP Warning: Undefined array key 1 in /srv/data/web/vhosts/www.domain.co.uk/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/vc-custom-heading.php on line 138
    [10-Jul-2024 02:01:23 UTC] PHP Warning: Undefined array key 2 in /srv/data/web/vhosts/www.domain.co.uk/htdocs/wp-content/plugins/js_composer/include/classes/shortcodes/vc-custom-heading.php on line 139

    14 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 10, 2024 at 11:14

    Hello Robert,

    Thank you for reaching out and bringing this issue to our attention.

    It appears that the warnings are being generated by the js_composer plugin. We kindly request that you ensure you are using the latest version of the WPBakery plugin. For detailed instructions on updating the plugin, please visit our guide at: https://www.8theme.com/documentation/xstore/plugins/plugins-update/

    Best Regards,
    8Theme’s Team

    Avatar: robjwatson
    Robert
    Participant
    July 10, 2024 at 13:52

    Hi Rose

    Thank you for your reply. I can confirm that it is the latest version running.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 10, 2024 at 14:12

    Hello Robert,

    Could you kindly provide us with the URL of the page that contains the warnings? Additionally, we would appreciate it if you could grant us temporary access to the wp-admin panel.

    Thank you for your cooperation.

    Best Regards,
    8Theme’s Team

    Avatar: robjwatson
    Robert
    Participant
    July 11, 2024 at 09:38

    Attached

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 11, 2024 at 10:17

    Hello Robert,

    We appreciate your prompt response, but we can’t log in using credentials you provided – https://prnt.sc/nHHgN9Fx4ACs Please check.

    Best Regards,
    8Theme’s Team

    Avatar: robjwatson
    Robert
    Participant
    July 11, 2024 at 10:54

    New password

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 11, 2024 at 11:03

    Hello Robert,

    We hope this message finds you well. Could you please downgrade the PHP version to either 8.1 or 8.2 and verify if this resolves the issue?

    Thank you for your attention to this matter.

    Best Regards,
    8Theme’s Team

    Avatar: robjwatson
    Robert
    Participant
    July 15, 2024 at 10:11

    Hi Rose, thank you for your reply.
    I’ve downgraded my PHP and the problem persists.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 15, 2024 at 10:15

    Hello Robert,

    Please let us know on which page you see the problem (provide URL and temporary FTP access).

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: robjwatson
    Robert
    Participant
    July 15, 2024 at 10:25

    It’s in the www-error.log

    I can’t say it seems to be causing many issues on the front end

    Please contact administrator
    for this information.
    Avatar: robjwatson
    Robert
    Participant
    July 15, 2024 at 10:36

    I’m definitely no expert in this but it seems it’s relating to these two lines highlighted?

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 15, 2024 at 13:15

    Hello, Robert,

    We hope this message finds you well.

    We are pleased to inform you that the necessary corrections have been made to the plugin file. The fix has been implemented in the following file:
    plugins/js_composer/include/classes/shortcodes/vc-custom-heading.php

    Please review the changes at your earliest convenience.

    Best Regards,
    8Theme’s Team

    Avatar: finleydesign
    finleydesign
    Participant
    August 5, 2024 at 09:57

    I have the same errors, can you share how this was resolved.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    August 6, 2024 at 16:30

    Hello, finleydesign,

    We hope this message finds you well. We would like to inform you that it is necessary to update your XStore to version 9.3.17, as this update includes essential fixes that have been implemented.

    Best Regards,
    The 8Theme Team

  • Viewing 15 results - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.