Composer plugin, NGINIX and Ajax Error

Posted in: Newspaper
Post count: 39

Dear Sirs,

i have already had similar problem few months ago, but since i don’t control server side at all, i couldn’t proceed with further tries and mitigation of problem.

So, i have now installed completely new WP installation, with only Newspaper theme on it. When i try to install
tagDiv Composer and tagDiv Cloud Library it gives Ajax Error.
But, in Firefox mozzila it stops before downloading any of those two plugins. In Chrome and Edge it downloads it, but cannot Activate.
Now i have those two plugins in plugin section, but still cannot activate them (nor from Newspaper plugins page, nor from WP plugins page).

I ve tried to use Copilot in the Edge to see what kind of error Activate Composer generates, and it says:

plugins.php?error=tr…nonce=62de97f7a2:67 Uncaught SecurityError: Failed to execute ‘replaceState’ on ‘History’: A history state object with URL ‘http://***.**/wp-admin/plugins.php?plugin=td-composer/td-composer.php’ cannot be created in a document with origin ‘https://***.**’ and URL ‘https://***.**/wp-admin/plugins.php?error=true&plugin=td-composer/td-composer.php&_error_nonce=62de97f7a2’.
at plugins.php?error=tr…ce=62de97f7a2:67:19

Here is the explanation of the error message from DevTools console:

SecurityError: This error occurs when a script attempts to perform an action that violates the browser’s security policies.
replaceState: The replaceState method is used to modify the current history entry. In this case, it failed due to a security restriction.
Origin Mismatch: The error indicates a mismatch between the origin of the document (https://***.**) and the URL being set (http://***.**). The protocol difference (http vs https) causes this issue.
Solution: Ensure that both the document and the URL being set have the same protocol (https). This will resolve the origin mismatch and prevent the error.

I have tried to talk with provider, but they cannot find solution to it. Can you help, please?

Best regards,
Bojan

  • This topic was modified 1 year by brue.
  • This topic was modified 1 year by brue.
Post count: 27744

Hello,

If you have nginx, you need to set pretty links because sometimes this causes the issue https://cloudarcade.net/tutorial/pretty-url-on-nginx-server/ -> https://www.cyberciti.biz/faq/how-to-configure-nginx-for-wordpress-permalinks/
Please let me know the results.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.