PostgreSQL-For-Wordpress / postgresql-for-wordpress

A maintained fork of https://wordpress.org/plugins/postgresql-for-wordpress/
GNU General Public License v2.0
209 stars 68 forks source link

Database Error: Cannot modify header information - headers already sent by... #89

Closed laotoutou closed 7 months ago

laotoutou commented 7 months ago

I use pg4wp v3.0, and there is a 'Database Error' when i activate "Starter Templates" plugin of Astra theme:

Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-admin/includes/misc.php on line 1431 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-includes/functions.php on line 7049 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-admin/admin-header.php on line 9 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-includes/option.php on line 1478 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-includes/option.php on line 1479 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-includes/pluggable.php on line 1435 
Warning: Cannot modify header information - headers already sent by (output started at /data/wp-content/pg4wp/core.php(34) : eval()'d code:1850) in /var/www/html/wp-includes/pluggable.php on line 1438
laotoutou commented 7 months ago

It seems to be an issue with WordPress: https://wordpress.org/documentation/article/faq-troubleshooting/#how-do-i-solve-the-headers-already-sent-warning-problem