Home › Forums › WoodMart support forum › Error PHP
Error PHP
- This topic has 11 replies, 2 voices, and was last updated 1 year, 3 months ago by
andresgilefe.
-
AuthorPosts
-
February 13, 2024 at 2:08 pm #539489
andresgilefeParticipantHello,
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…’
February 13, 2024 at 2:36 pm #539499
andresgilefeParticipantAH01071: 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
February 13, 2024 at 3:04 pm #539510
Artem TemosKeymasterHello,
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 builderThank you in advance
February 13, 2024 at 3:38 pm #539532
andresgilefeParticipantI fixed it, but i think you need to check class-activation, it’s kinda bugged.
February 13, 2024 at 3:59 pm #539554
Artem TemosKeymasterCould you please clarify how did you fix this?
February 13, 2024 at 4:25 pm #539580
andresgilefeParticipantIt’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
February 13, 2024 at 4:52 pm #539593
Artem TemosKeymasterStrange, but we can’t reproduce it. Are you able to provide us with your admin and FTP access so we can check?
February 13, 2024 at 6:24 pm #539634
andresgilefeParticipantCheck it in private info
February 13, 2024 at 6:38 pm #539642
andresgilefeParticipantLet me know when you guys finish and fix the issue, thank you for your time
February 13, 2024 at 7:06 pm #539654
andresgilefeParticipantOkey i redownloaded the file from Themeforest and it seems to have no errors anymore 😮
February 14, 2024 at 10:44 am #539844
Artem TemosKeymasterThats strange. Please, let me know when this error appears again on your website.
Kind Regards
February 14, 2024 at 12:20 pm #539921
andresgilefeParticipantPerfect Atem, Thank you again
-
AuthorPosts
- You must be logged in to create new topics. Login / Register