webfonts / Web-Fonts

A Joomla! series of packages that connect to various web services to provide dynamic CSS font-face fonts.
10 stars 7 forks source link

Work perfect but, in log; Error, PHP Notice Undefined Propperty and plus? #9

Closed Chacapamac closed 12 years ago

Chacapamac commented 12 years ago

I got that in my php log

PHP Notice: Undefined property: stdClass::$Publish in /Applications/MAMP/htdocs/xxxxxxxxxxx/administrator/components/com_webfonts/helpers/responses.php on line 57

PHP Warning: First parameter must either be an object or the name of an existing class in /Applications/MAMP/htdocs/xxxxxxxxxxx/administrator/components/com_webfonts/helpers/responses.php on line 45

PHP Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/xxxxxxxxxxx/administrator/components/com_webfonts/helpers/responses.php on line 31

On Mamp — Joomla 2.5.6

I got those selectors

.module-title .title span

h1 span

h1

h2

webfonts commented 12 years ago

Hey Chacapamac, this code is a little loose and I will tighten it down and post an update here tomorrow.

webfonts commented 12 years ago

Hey Chacapamac, I'm not able to reproduce those errors/warning. Do you get them in in your production environment?

Chacapamac commented 12 years ago

Well, I just reopen the site and refresh a couple of time — Nothing in the log. Weird, I think you can close this

webfonts commented 12 years ago

Hey Chacapamac,

Actually, your lack of errors is a telling symptom and I believe I know what caused your original errors. If I'm right, it's not something in your environment and just something that doesn't happen every time the extension is used. I'll do an update in the next couple of days with this and the important change.

J

Chacapamac commented 12 years ago

Thank’s — Give you an excellent review at the JED — Really simple and flexible extension... Good work —Are you doing on demand component and addon to Joomla?