soflyy / breakdance-bugs

Bug reports from Breakdance users.
38 stars 5 forks source link

Double execution of Code Block when the Yoast SEO plugin is enabled #1115

Open slawomiroruba opened 2 days ago

slawomiroruba commented 2 days ago

You MUST include a clear description of the bug and EXACT steps to reproduce the bug or IT WILL BE CLOSED:

For example:

  1. Install Breakdance and Yoast SEO
  2. Enable Debug Mode and log errors to files
  3. Create new page and open it in editor mode
  4. Add Code Block element and place error_log('123');
  5. Save (now in debug.log is 1 log - 123)
  6. Open page in frontend
  7. Every time you refresh page log will be save twice.

Code execution is performed twice.

Of course if echo something it will be shown once.

You should also include the following information: