soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
314 stars 29 forks source link

Error logs fill up with oxygen related PHP errors, several kinds. #3343

Open YvKarman opened 1 year ago

YvKarman commented 1 year ago

Any bug report that doesn't include a Sandbox link or replication steps will be closed. If you can't provide these pieces of information, we're happy to help you via our official support channel instead: https://oxygenbuilder.com/support. You need to select "Something's broken and I need help" from the dropdown box on the left.

Describe the bug A clear and concise description of what the bug is. My error.log is constantly being filled with the following errors.

"PHP message: PHP Warning: Undefined array key "icon-color" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3034PHP message: PHP Warning: Undefined array key "icon-padding" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3036PHP message: PHP Warning: Undefined array key "icon-size" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3037 PHP message: PHP Warning: Undefined array key "icon-color" in public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3034PHP message: PHP Warning: Undefined array key "icon-padding" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3036 PHP message: PHP Warning: Undefined array key "icon-size" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3037PHP message: PHP Warning: Undefined array key "icon-background-color" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3035PHP message: PHP Warning: Undefined array key "icon-padding" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3036 PHP message: PHP Warning: Undefined array key "icon-size" in /public/wp-content/plugins/oxygen/component-framework/component-init.php on line 3037" while reading response header from upstream, client: , server:, request: "POST /?p=292741&action=ct_save_components_tree&ct_inner=true&nonce=6b7f1f22e2&post_id=292741 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm-.sock:", host: "", referrer: "?p=292741&ct_build

and (this one is probably caused internally, so can be ignored): "PHP message: PHP Warning: Attempt to read property "ID" on bool in /public/wp-content/plugins/oxygen/component-framework/admin/cpt-templates.php on line 477" while reading response header from upstream, client: , server: , request: "GET /wp-admin/post-new.php?post_type=shop_order HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm-, host: "807", referrer: "/wp-admin/post-new.php?post_type=shop_order"

finally:

"PHP message: PHP Warning: Undefined property: stdClass::$ID in /public/wp-content/plugins/oxygen/component-framework/components/classes/dynamic-list.class.php on line 398" while reading response header from upstream, client: , server: , request: "POST /?wpgb-ajax=refresh&lang=de&_pagination=3 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.0-fpm-.sock:", host: "", referrer: "/parent-category/sub-category/?_pagination=3"

A link to a Sandbox site where the bug has been reproduced https://oxygenbuilder.com/try? (REQUIRED) Provide the link to a Sandbox install where the issue is present. If the issue only exists on a specific post or template, provide a direct link to that post or template. https://oxygen-q3ryxaglzh5sl.oxygen-demo.qsandbox.org/wp-admin/index.php I can't tell you whether I can reproduce it, as your sandbox environment doesn't allow error logging, which seems like a flaw when you ask people to set up a test environment for the purpose of bug testing...

Seems related to issue #883 from 2 years ago on https://github.com/soflyy/oxygen-bugs-and-features/issues/883 , Icon issues + couldn't read ID on bool specifically and especially.

PHP version; latest stable 8.0

lqze commented 1 year ago

This builder throws a lot of non-trivial errors in PHP versions above 8