Home Forums WoodMart support forum Error PHP

Error PHP

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #539489

    andresgilefe
    Participant

    Hello,
    I got Critical WordPress Error and i dont know how to fix it, i tried to modify the PHP versions but it still persist.

    The error in the registry is the next:

    AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $code in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Warning: Undefined variable $data in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function XTS\\Activation::activate(), 2 passed in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147 and exactly 3 expected in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php:162\nStack trace:\n#0 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php(147): XTS\\Activation->activate()\n#1 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php(25): XTS\\Activation->process_form()\n#2 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-registry.php(86): XTS\\Activation->__construct()\n#3 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-registry.php(62): XTS\\Registry->save_object()\n#4 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-th…’

    #539499

    andresgilefe
    Participant

    AH01071: Got error ‘PHP message: PHP Warning: Undefined variable $code in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Warning: Undefined variable $data in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147; PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function XTS\\Activation::activate(), 2 passed in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php on line 147 and exactly 3 expected in /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php:162\nStack trace:\n#0 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php(147): XTS\\Activation->activate()\n#1 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-activation.php(25): XTS\\Activation->process_form()\n#2 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-registry.php(86): XTS\\Activation->__construct()\n#3 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-registry.php(62): XTS\\Registry->save_object()\n#4 /var/www/vhosts/bilitroque.com/httpdocs/wp-content/themes/woodmart/inc/classes/class-th…’, referer: https://bilitroque.com/wp-admin/themes.php

    #539510

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for purchasing our theme and contacting our support center.

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #539532

    andresgilefe
    Participant

    I fixed it, but i think you need to check class-activation, it’s kinda bugged.

    #539554

    Artem Temos
    Keymaster

    Could you please clarify how did you fix this?

    #539580

    andresgilefe
    Participant

    It’s a temporary fix, i just deleted the line 147 mainly in class-activation, and no more Critical WordPress Error.

    But i think you should take a look to the PHP error of that class-activation lines, otherwise it may happen to other people.

    Hopefully when i update the theme to the next version (when you release it) i wont have sucha problem

    #539593

    Artem Temos
    Keymaster

    Strange, but we can’t reproduce it. Are you able to provide us with your admin and FTP access so we can check?

    #539634

    andresgilefe
    Participant

    Check it in private info

    #539642

    andresgilefe
    Participant

    Let me know when you guys finish and fix the issue, thank you for your time

    #539654

    andresgilefe
    Participant

    Okey i redownloaded the file from Themeforest and it seems to have no errors anymore 😮

    #539844

    Artem Temos
    Keymaster

    Thats strange. Please, let me know when this error appears again on your website.

    Kind Regards

    #539921

    andresgilefe
    Participant

    Perfect Atem, Thank you again

Viewing 12 posts - 1 through 12 (of 12 total)