Question

Wordpress plugin Power BI does is not working on DigitalOcean droplet

We have a Wordpress site that uses Power BI plugin( https://github.com/atlaspolicy/power-bi-embedded ). This plugin works perfectly with Wordpress hosted on any other server but DigitalOcean.

Error logged - DOMException: Invalid header name.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

I could suggest a few things:

  • Try enabling debug mode to see if there are any more errors that could lead you to the right direction. You can do that by setting WP DEBUG to true in your wp-config.php.

  • Check your PHP error log for some more information too.

  • As this is working for you on another server, I would recommend checking the following:

    • Make sure that the PHP version is the same
    • Make sure that the MySQL version is also the same
    • Make sure that there are no PHP settings present on the working server that have not been carried over to the new one. You can check that in the php.ini file.
    • Make sure that you have all of the PHP modules enabled. You can check that by creating a PHP info file with the following code:
<?php

phpinfo();

Alternatively, it might be a good idea to open this as an issue on the official GitHub page of the plugin.

Let me know how it goes. Regards, Bobby