Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Warning sp-api
Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:22 am

Hi guys,

Just noticed a new warning above the forum when i am refreshing the page:

warning.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:28 am

first, its very poor to be displaying errors on a production site...  those should really be disabled...

2nd, not sure how that is occurring..  it says you have a 0 byte css file that is trying to be included...

so not an error and no ill effect, but you get the warning...

three options...

1 - dont display errors on production site (always recommended by php, wp, devs, etc)

2 - find the 0 byte css file (new child theme css?)

3 - disable css combined caching on forum - options - global settings

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:44 am

So it´s the empty child theme that is giving the error. 

Do you have any simple line i can add that dont change anything in particular to get ride of the warning until i have time to add own color etc.

Thanks!

P.S.

How to not display errors on my site? Is that done in the WP admin?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:45 am

how about a comment?

/* my theme css */

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:47 am

you would turn off errors in your php.ini file...

or in your wp config file, add:

define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Avatar
Meztli
Sweden
Member
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:50 am

Mr Papa said
how about a comment?

/* my theme css */

Haha, i really need a holliday to get my brain working.

Thanks Steve laugh

P.S.

Thanks for the tips above as well.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2014 - 11:52 am

no worries!  Glad to help!

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625