PetterSandvik VIP
Total posts: 110
15 Dec 2016 13:13

Hello

I got a few PHP-notices in log. I use last Cobalt, Joomla! and PHP 7

05-Dec-2016 18:18:31 UTC] PHP Notice: Undefined variable: catid in /home/...../public_html/components/com_cobalt/views/record/tmpl/default_tags.php on line 53

[05-Dec-2016 18:12:05 UTC] PHP Notice: Undefined property: stdClass::$url in /home/...../public_html/components/com_cobalt/fields/html/html.php on line 146

[05-Dec-2016 18:45:06 UTC] PHP Notice: Undefined property: stdClass::$url in /home/........./public_html/components/com_cobalt/fields/html/html.php on line 146

I have no problems that i expect has some with this three notices to do.

Also, i dont use any parameter on "width" in imagefield, i let it be blank. That generates some notices in log. Is there any other value i can use to rezise width of image to the max avibilie space?

[13-Dec-2016 11:20:48 UTC] PHP Warning: imagecreatetruecolor() expects parameter 2 to be integer, string given in /home/..../public_html/libraries/mint/resizeimage.php on line 211 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagealphablending() expects parameter 1 to be resource, null given in /home/.../public_html/libraries/mint/resizeimage.php on line 212 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagesavealpha() expects parameter 1 to be resource, null given in /home/.../public_html/libraries/mint/resizeimage.php on line 213 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagecolorallocate() expects parameter 1 to be resource, null given in /home/..../public_html/libraries/mint/resizeimage.php on line 216 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagefill() expects parameter 1 to be resource, null given in /home/.../public_html/libraries/mint/resizeimage.php on line 217 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagecopy() expects parameter 1 to be resource, null given in /home/..../public_html/libraries/mint/resizeimage.php on line 218 [13-Dec-2016 11:20:48 UTC] PHP Warning: imagedestroy() expects parameter 1 to be resource, null given in /home/..../public_html/libraries/mint/resizeimage.php on line 223

Last Modified: 16 Dec 2016


Sergey
Total posts: 13,748
16 Dec 2016 06:18

Looks like I have solved all of them. Thank you for report Peter.

Powered by Cobalt