ansonphong / postworld

Wordpress Theme Development Framework
GNU General Public License v2.0
7 stars 0 forks source link

PHP Warnings #55

Closed hmikhail closed 10 years ago

hmikhail commented 10 years ago

Hello phong,

I've been trying to remove all warnings from feeds functions, some of the warnings were related to postworld_images.php and postworld_utilities.php

When invoking : pw_load_feed : 1- Use of undefined constant bp_core_fetch_avatar - assumed 'bp_core_fetch_avatar' in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_utilities.php on line 296

2- Undefined variable: attachment in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_images.php on line 40

3- [20-Oct-2013 12:19:03 UTC] PHP Notice: Undefined offset: 1 in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_utilities.php on line 201

ansonphong commented 10 years ago

Thanks - I'll look into those notices.

On Sunday, October 20, 2013, hmikhail wrote:

Hello phong,

I've been trying to remove all warnings from feeds functions, some of the warnings were related to _postworldimages.php and postworld_utilities.php

When invoking : _pw_loadfeed : 1- Use of undefined constant bp_core_fetch_avatar - assumed 'bp_core_fetch_avatar' in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_utilities.php on line 296

2- Undefined variable: attachment in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_images.php on line 40

3- [20-Oct-2013 12:19:03 UTC] PHP Notice: Undefined offset: 1 in C:\BitNami\wordpress-3.6.1-0\apps\wordpress\htdocs\wp-content\plugins\postworld\php\postworld_utilities.php on line 201

— Reply to this email directly or view it on GitHubhttps://github.com/phongmedia/postworld/issues/55 .