### Release Notes

Following improvements

• Composer works again for Elgg 1.8.3
• Shouldn't get any more "Fatal error: headers already sent" type errors.
• Can unlike entities again
• No more "deprecated" errors about getIcon function.
• Only compatible with Elgg 1.8.3+.
• @mdaly, thanks for the bug report! You should turn off display_errors. Follow the instructions on this page: http://docs.elgg.org/wiki/White_page, except set display_errors to 0 instead of 1.

@msummers, yikes, that sounds pretty bad. Are you sure it's the facebook theme that's causing this? Please disable all other plugins and test again.

• Hi Evan,

thank you for your reply. this setting is already set to 0. I have restested this and still receive the same error message.

Can you think of any other suggestions?

Thanks again

mdaly

• Hello friend. I would put the login page in an image. As a page background or adjacent to the site log. I'm not getting. I rolled all the code but not found where to insert the lines to get a background on the login page (index). Can you help me? Thank you.

• @mdaly wrote:

I get this error message:

PHP WARNING: "Invalid argument supplied for foreach()" in file \mod\facebook_theme\start.php (line 555)

Fix it:

if(!empty($top_level_pages)){ foreach ($top_level_pages as $page) {$items["pages-$page->guid"] = ElggMenuItem::factory(array( 'name' => "pages-$page->guid",
'href' => $page->getURL(), 'text' => elgg_view_icon('page') . elgg_view('output/text', array('value' =>$page->title)),
));
}

}

• Hello friend. I would put the login page in an image. As a page background or adjacent to the site log. I'm not getting. I rolled all the code but not found where to insert the lines to get a background on the login page (index). Can you help me? Thank you.

• Hello friend. I would put the login page in an image. As a page background or adjacent to the site log. I'm not getting. I rolled all the code but not found where to insert the lines to get a background on the login page (index). Can you help me? Thank you.

• How can I ajaxify the wall posting?? Any one help me

• Hi all,

someone could help me find why I get this error after installation?

Fatal error: Call to undefined function mb_convert_encoding() in/home/xserve/public_html/elgg/mod/facebook_theme/views/default/search/search_box.php on line 22

Thanks

• Hello,

Has there been any resolution on the alignment issue in the login area.  It seems to work fine on safari and chrome but not on IE and Firefox.  Can someone please assist. Thanks

• Hi all, let me ask:

how to fix this problem?!

• I have the same problem. Can anybody help me to fix this? Please?

• Hi Evan, I've been trying to get the drop down menus to work on user hover, do I call elgg_view_menu after the custom topbar dropdown meny is created?

• the avatar is big and the size is bigger than the layout, waht will i do?

• how can i add a front-page , instead of  '/dashboard' page?

• I am having issue with delete comments , my comment againt my wall post or comments on my friends wall when i click delete after confirmation system isthrowing error below . in the URL its pointing to the directory which doesnt exist , http://domain.com/elgg/thewire/view/55 , there is no directory 55 . please help !!

## Sorry. We could not find the page that you requested.

"

• Ok i have made these changes and looks like its working fine, i am not sure if it's correct or not.

if ($comment->canEdit()) {$comment->delete();
system_message(elgg_echo("generic_comment:deleted"));
//forward(\$entity->getURL());
forward(REFERER);
}

• Hi,

Has anybody found a solution to this problem (earlier reported by several people)?

Elgg 1.8.5, facebook_theme 1.4  The only non-default active widget is 'widget manager'. Custome_index is already disabled. I hit this problem only at the bottom of homepage.

Regards.

SecurityException Object
(
[string:private] => exception 'SecurityException' with message 'Redirect could not be issued due to headers already being sent. Halting execution for security. Search http://docs.elgg.org/ for more information.' in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\engine\lib\elgglib.php:151
Stack trace:
#0 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\mod\facebook_theme\start.php(382): forward('/dashboard')
#1 [internal function]: facebook_theme_index_handler('index', 'system', true, NULL)
#2 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\engine\lib\elgglib.php(974): call_user_func_array('facebook_theme_...', Array)
#3 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\index.php(17): elgg_trigger_plugin_hook('index', 'system', NULL, false)
#4 {main}
[code:protected] => 0
[file:protected] => C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\engine\lib\elgglib.php
[line:protected] => 151
[trace:private] => Array
(
[0] => Array
(
[file] => C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\mod\facebook_theme\start.php
[line] => 382
[function] => forward
[args] => Array
(
[0] => /dashboard
)

)

[1] => Array
(
[args] => Array
(
[0] => index
[1] => system
[2] => 1
[3] =>
)
)

[2] => Array
(
[file] => C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\engine\lib\elgglib.php
[line] => 974
[function] => call_user_func_array
[args] => Array
(
[1] => Array
(
[0] => index
[1] => system
[2] => 1
[3] =>
)

)

)

[3] => Array
(
[file] => C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\elgg-1.8.5\index.php
[line] => 17
[function] => elgg_trigger_plugin_hook
[args] => Array
(
[0] => index
[1] => system
[2] =>
[3] =>
)
)
)
)

• similar layout of facebook, do we need to ask for permission to use it?

• I was just reading discussion on elgg and i saw a lot of questions about ads needed on  elgg website using .

I had ot design a plugin that is taking care of the whole site ads.

Let me know if that is what you are asking for...

Thanks.

• HI everyone.  I decided to deactivate the fb theme and it froze my site.  I went in the server and delete the mod and now I am recieving this error...

facebook_theme (guid: 80) cannot start and has been deactivated. Reason: Cannot include start.php for plugin facebook_theme (guid: 80) at /home/content/84/8071784/html/elgg/mod/facebook_theme.

Any thoughts on how I can get this to go away?

Thanks.

• Click on that message and it will be removed for ever. If you want to deactivate a plugin do it in the proper way by going to admin panel > disable it first > then delete it. Because there may be other important actions associated with activation and deactivation of a plugin. If you just delete it without deactivation, it may create problems.

• @Ren: run ugrade.php to flush the site cache.

• @iionly, please recommend that people use the admin panel to flush their caches. There is a "flush caches" button and we'd prefer people get in the habit of doing this over running upgrade.php

• @Evan: you're right. I'm still forgetting about that option sometimes (Elgg 1.7 on my mind...). In this case flushing the cache via admin panel surely is better.

• Hi everyone!

Evan Winslow keep up with your good work.

Thanks.

### Evan Winslow

Software Engineer at Google. Elgg enthusiast. I wrote the Javascript and CSS frameworks for 1.8.

### Stats

• Category: Themes