PHP Notice flood: Trying to access array offset on value of type bool in class-mfn-builder-admin.php

Hi BeTheme,

since months i get several PHP Warnings a day.

Do you have any suggestions?



[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 327

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 327

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 328

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 328

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 334

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 334

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 335

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 335

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 336

[19-Nov-2021 12:36:06 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 336

Comments

  • Hello,

    Can you tell me what version of Betheme, PHP and WP do you have, please?

    Moreover, tell me where does this warning appears, and attach a link to your website.


    Thanks

  • Hi,


    PHP: 8.0.11

    Betheme: 25.1.4

    WP: 5.8.2

    Website: www.aitek.de


    Thank you for taking a look.


    Best regards

    Christian

  • Can you tell me where these warnings appear, please?

    Please, turn off all of the plugins, refresh your cache, and check if the problem persists.

    Moreover, if you are using a child theme, switch to parent, and recheck it.

    Thanks

  • It seems it happens only in the backend when i press on "edit" a product.

  • Switching from Child Theme to Parent made no change

  • Please send us WordPress dashboard access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact and we will check what might be the reason.

    Notice!

    Please attach a link to this forum discussion.

    Thanks

  • I have checked multiple products but I did not notice the warning you mentioned.

    Is there a particular product where it appears? If yes, can you send a link to this product, please?

    Or are there any steps to reproduce to notice this warning?


    Thanks

  • It seems it only happens when i am online as Administrator by pressing on "edit" product. (in german: "Bearbeiten")

    Try again with the account i gave ya.

    Thx!!!

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 327

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 327

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 328

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 328

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 334

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 334

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 335

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 335

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type bool in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 336

    [23-Nov-2021 12:34:42 UTC] PHP Warning: Trying to access array offset on value of type null in /home/www/xxx/wp-content/themes/betheme/functions/builder/class-mfn-builder-admin.php on line 336

  • I have done all steps you mentioned, but I could not notice this warning in any of your products.

    All of them look like on the screenshots above.


    Did you notice if this warning affects the functionality of your website somehow?


    Best regards

  • There is no warning at the product.

    But the debug.log fills with those warnings everytime i press on "edit". Dont know why.

    Nah, i am working fine with it, but thought it would be an easy thing to fix.

    Thanks for your time anyway!

  • I have contacted the dev team, and they said that this is nothing to worry about.

    However, we will take a look at them so they will not appear.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.