Home › Forums › WoodMart support forum › PHP Warning
PHP Warning
- This topic has 9 replies, 3 voices, and was last updated 9 months, 1 week ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
April 27, 2024 at 12:18 am #561199
iivaaParticipantHello,
After I updated the theme to the latest version 7.5.1, I am getting the following error:[26-Apr-2024 21:08:57 UTC] PHP Warning: Undefined array key “class” in /home/site_name/public_html/wp-content/themes/woodmart/inc/admin/init.php on line 32
[26-Apr-2024 21:08:57 UTC] PHP Warning: Undefined array key “class” in /home/site_name/public_html/wp-content/themes/woodmart/inc/admin/init.php on line 33Best regards,
IvaApril 27, 2024 at 2:20 pm #561272
Aizaz Imtiaz AwanKeymasterHello,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the wp logins details so i will check and give you a possible solution.
Best Regards.
April 27, 2024 at 11:54 pm #561370
iivaaParticipantHello,
The site is active, and I can not really disable all 3rd party plugins, there are not many.
Before updating to version 7.5.1 everything was fine, I didn’t get any warnings, but now when I go to Theme Settings in the admin panel, I am getting a lot warnings, around 600.
First, I though that maybe is related to WP Rocket, so I cleared the cache, but I am still getting the same warning…The site is also using WP Bakery Builder, Slider Revolution, Yoast Seo, Safe Svg, Woocommerce, Wp Rocket.
Do you have any idea what could be the problem now in this version 7.5.1?
April 28, 2024 at 11:56 am #561407
iivaaParticipantPreviously it was installed 7.4.3 theme version, then after updating the theme to 7.5.1, these warnings are generated in wp-admin/error_log, every time when I go to Theme Settings page.
April 29, 2024 at 10:38 am #561575
Aizaz Imtiaz AwanKeymasterHello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
May 25, 2024 at 5:00 am #568102
carlos.coraylParticipantI have the same problem, did you find the solution ?
May 25, 2024 at 12:32 pm #568142
Aizaz Imtiaz AwanKeymasterHello @carlos.corayl,
Please deactivate all the 3rd party plugins and activate only theme-required plugins on the site and then check the issue. I am sure your issue will be solved. Then Activate the 3rd party plugins one by one and check which plugin is creating the issue for you.
Otherwise, if the issue still exists then keep the 3rd party plugins deactivated and share the wp logins details so i will check and give you a possible solution.
Best Regards.
May 25, 2024 at 12:58 pm #568150
iivaaParticipantHello,
I didn’t solve the issue. But I suppose the ‘class’ key doesnt exist in the init file, that’s why throws a lot of warnings (that code is new). Maybe if there is a check if this field exists it will solve the issue.May 25, 2024 at 1:44 pm #568162
iivaaParticipantI meant that key doesnt exist, that is why throws a lot of warnings in the init file.
May 25, 2024 at 2:35 pm #568170
Aizaz Imtiaz AwanKeymasterHello @iivaa,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register