soflyy / oxygen-bugs-and-features

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

Refreshing browser after having inserted gravity forms shortcode into 'shortcode wrapper' breaks Oxygen #816

Closed thor-webmaestrodk closed 4 years ago

thor-webmaestrodk commented 4 years ago

Describe the bug Refreshing browser after having inserted gravity forms shortcode into 'shortcode wrapper' breaks Oxygen. More specifically, the structure pane breaks, along with other bits. It appears to only happen with Gravity forms, using 'shortcode wrapper' (it does not happen with 'shortcode' element). I also tested with one other shortcode (from random plugin) with no errors.

Don't ask me why I refresh the browser..

Have you tried all the steps at https://oxygenbuilder.com/documentation/troubleshooting/troubleshooting-guide/? Yes

Are you able to replicate the issue on a Sandbox install at https://oxygenbuilder.com/try? First I thought, "this is not my job", but then I tested anyway and I was unable to reproduce. It only happens on my local laragon environment (running PHP 7.2, mySQL 5.7.14)

To Reproduce Steps to reproduce the behavior:

  1. Use 'shortcode wrapper' anywhere
  2. Insert GF shortcode
  3. Save
  4. Refresh browser

Expected behavior A refreshed browser with working Oxygen builder

What actually happens Some elements are broken, can't tell which because so is the structure pane within Oxygen

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

DEBUG.LOG content I suspect the answer is here, but I cannot decipher it. [23-Jan-2020 16:04:37 UTC] looks to be specific for my build.

[23-Jan-2020 16:03:06 UTC] PHP Notice:  Undefined index: path in C:\laragon\www\webmaestro\wp-content\plugins\updraftplus\restorer.php on line 1399
[23-Jan-2020 16:03:55 UTC] PHP Notice:  Undefined index: progress_bar_background_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 219
[23-Jan-2020 16:03:55 UTC] PHP Notice:  Undefined index: progress_bar_bar_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 235
[23-Jan-2020 16:04:02 UTC] PHP Notice:  Undefined index: progress_bar_background_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 219
[23-Jan-2020 16:04:02 UTC] PHP Notice:  Undefined index: progress_bar_bar_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 235
[23-Jan-2020 16:04:04 UTC] PHP Notice:  ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\laragon\www\webmaestro\wp-includes\functions.php on line 4552
[23-Jan-2020 16:04:04 UTC] PHP Notice:  ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\laragon\www\webmaestro\wp-includes\functions.php on line 4552
[23-Jan-2020 16:04:06 UTC] PHP Notice:  Undefined index: postData in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1257
[23-Jan-2020 16:04:06 UTC] PHP Notice:  Undefined index: postData in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1264
[23-Jan-2020 16:04:06 UTC] PHP Notice:  Undefined index: postsList in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1287
[23-Jan-2020 16:04:22 UTC] PHP Notice:  Undefined index: queryOptions in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\layouts\shortcode.php on line 51
[23-Jan-2020 16:04:35 UTC] PHP Notice:  Undefined index: queryOptions in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\layouts\shortcode.php on line 51
[23-Jan-2020 16:04:37 UTC] PHP Notice:  Undefined index: queryOptions in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\layouts\shortcode.php on line 51
[23-Jan-2020 16:04:37 UTC] PHP Notice:  GFCommon::encrypt() har været <strong>forældet</strong> siden version 2.3! Brug GFCommon::openssl_encrypt() i stedet. in C:\laragon\www\webmaestro\wp-includes\functions.php on line 4648
[23-Jan-2020 16:04:42 UTC] PHP Notice:  Undefined offset: 21 in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\revisions.php on line 44
[23-Jan-2020 16:04:42 UTC] PHP Notice:  Trying to get property 'meta_value' of non-object in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\revisions.php on line 44
[23-Jan-2020 16:04:42 UTC] PHP Notice:  Undefined variable: google_fonts_cache in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 276
[23-Jan-2020 16:04:44 UTC] PHP Notice:  Undefined index: progress_bar_background_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 219
[23-Jan-2020 16:04:44 UTC] PHP Notice:  Undefined index: progress_bar_bar_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 235
[23-Jan-2020 16:04:50 UTC] PHP Notice:  Undefined index: progress_bar_background_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 219
[23-Jan-2020 16:04:50 UTC] PHP Notice:  Undefined index: progress_bar_bar_color in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\components\classes\progress-bar.class.php on line 235
[23-Jan-2020 16:04:52 UTC] PHP Notice:  ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\laragon\www\webmaestro\wp-includes\functions.php on line 4552
[23-Jan-2020 16:04:52 UTC] PHP Notice:  ob_end_flush(): failed to send buffer of zlib output compression (1) in C:\laragon\www\webmaestro\wp-includes\functions.php on line 4552
[23-Jan-2020 16:04:53 UTC] PHP Notice:  Undefined index: postData in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1257
[23-Jan-2020 16:04:53 UTC] PHP Notice:  Undefined index: postData in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1264
[23-Jan-2020 16:04:54 UTC] PHP Notice:  Undefined index: postsList in C:\laragon\www\webmaestro\wp-content\plugins\oxygen\component-framework\includes\ajax.php on line 1287
KittenCodes commented 4 years ago

@thor-webmaestrodk Please use a Shortcode element and not a Shortcode Wrapper element. A Shortcode Wrapper element is intended for use where other elements need to be wrapped inside the shortcode (for example, when restricting content).