Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oxygen Block screenshots fail to generate #2251

Open
stuartabowler opened this issue Jun 16, 2021 · 8 comments
Open

Oxygen Block screenshots fail to generate #2251

stuartabowler opened this issue Jun 16, 2021 · 8 comments
Labels
bug Something isn't working

Comments

@stuartabowler
Copy link

stuartabowler commented Jun 16, 2021

Description:

When I create an Oxygen Block, sometimes the Screenshots do not generate, failing with a popup warning, though the Edit page UI often claims that they do generate. I have many blocks that do successfully generate screenshots, and those always succeed. However, in some cases the issue is tripped and those block screenshots always fail.

My best educated guess based on looking at my log files is that some screenshot generation attempts exceed a server timeout. I have not been able to pinpoint which components are responsible for this.

In the sandbox site there is an Oxygen Block called "Example block that cannot generate screenshots". If you attempt to place this block in a page you will see that the Component screenshot is missing (see screenshot below)

Screenshot 2021-06-16 at 11 40 36

Sandbox link:

https://oxygen-qhywwqa8v89fl.oxygen-demo.qsandbox.me/wp-admin/post.php?post=44&action=edit

Steps to reproduce the behavior:

  1. Go to 'the "Example block that cannot generate screenshots" edit page'
  2. Click on 'Generate screenshots'
  3. Wait for the error message to pop up
@stuartabowler stuartabowler added the bug Something isn't working label Jun 16, 2021
@KittenCodes
Copy link
Contributor

@stuartabowler I'm very sorry, the Sandbox site expired before I had chance to look at this.

Would you mind letting me know what was inside the block that you were having problems with so that I can try to replicate this?

@hayatbiralem
Copy link

Hey @stuartabowler 👋 I have the same issue. Did you solve this?

@santo74
Copy link

santo74 commented Oct 11, 2021

@KittenCodes I'm experiencing the same issue, namely that I can't generate any screenshots.
When trying to do so I get a popup with the error "Failed: Could not validate the license." while I obviously do have a valid license (otherwise I wouldn't even be able to create that block in the first place).

Despite the error, the text in the screenshots section now shows "Screenshots successfully generated" (in green). However, when I navigate away and then come back it again shows "Warning: Screenshots never generated" (in orange).

@KittenCodes
Copy link
Contributor

@santo74 This is something we're currently investigating. I believe it is related to the certificate issues that have recently occurred in WordPress: https://core.trac.wordpress.org/ticket/54207.

@santo74
Copy link

santo74 commented Oct 12, 2021

Thanks @KittenCodes for the follow-up. Will this have any impact on other parts of the Oxygen Builder plugin or is it only related to the screenshots?

@KittenCodes
Copy link
Contributor

@santo74 Some sites are having problems accessing Composite Elements, which may be related - it's something we're still looking into. I'm not aware of any other issues.

@santo74
Copy link

santo74 commented Oct 12, 2021

Ok, thanks for the clarification.
Since I haven't used the composite elements in a while I didn't notice any issues with them, but it's good to know there might be.

@portseif
Copy link

I'm now facing this issue as well. I've tried everything: saving permalinks 2x, resigning shortcodes, re-installing Oxygen, and combing through the db looking for any discrepancies. The two I found were oxygen_composite_elements_license_key and oxygen_composite_elements_license_status which were both null, so I set the correct data and still got the error.

So, then I read the link @KittenCodes posted (https://core.trac.wordpress.org/ticket/54207), and installed the SSL fix (https://github.com/ClassicPress-research/cp-ssl-fix) and still nothing.

Lastly, I reset all permissions via FTP in case that was the culprit... nope.

The only thing I haven't done is downgrade WordPress. I just thought I would post everything I've done to correct this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants