Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2020-05-04 01:51:54

Dieter_Kurth
Member
Registered: 2013-11-17
Posts: 36

Themes Wordpress seems to have an error if I want to create a new post

I got in Wordpress the following error message if I want to create a new Post.

Warning: DOMDocument::loadHTML():Empty string supplied as input in /www/htdocs7w01a8870/kurth-dueren.de/blog/wp-content/themes/Backlight_Template/in/theme_posts.php on line 180

Warning: Cannot modify header information - headers already send by (output started at www.htdocsw01a88707/kurth-dueren.de/blog/wp-content/theme/Backlight_Template/inc/theme_posts.php:180 in /www/htdocs/w01a88707kurth-dueren.de/blog/wp-admin7admin-header.php on line 9

I found in the web the following entries for the wp-config-php but I do not know if there are some side kicks by doing that.

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

After hat if i create a new message, I can edit it without the warnings in the background which where behind the places where to enter the information for the message.

It would be great if someone can explain how to fix this warnings for a dummy like me in web programming.

Thank you for your effort and help
Dieter

Offline

#2 2020-05-04 03:32:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Themes Wordpress seems to have an error if I want to create a new post

Is WordPress up to date?
Is Backlight up to date?

It might help Matt and Ben if you can provide a link to your WordPress blog


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2020-05-04 04:08:18

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Themes Wordpress seems to have an error if I want to create a new post

loadHTML strikes again. Seems no matter how much we try to put guards around this piece of code, someone trips on it. It's been fine in our most recent rounds of testing, but whatever. I guess your host's PHP config doesn't like it.

I'm going to gut it for the next update, which should be coming along very soon. The code in question is to do with lazy-loading images in blog posts, which is something I've not been entirely happy with anyway, and have been wanting to rework.

My apologies for the inconvenience. If you can hold off on making new posts until 3.0.1, that'd be great. If your need is more urgent, please contact me via email and we can get you fixed up in the meantime. In which case, I'll need FTP access to your site.


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2020-05-04 06:23:14

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Themes Wordpress seems to have an error if I want to create a new post

Dieter, is this for Backlight 2 or Backlight 3?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB