MyBB Community Forums

Full Version: Fatal error: functions.php on line 368
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Heh, I found something,again error, this time in Admin login CP.
When I go to login in "Admin" i have fatal error, again (attach).
But, login is without problem. I go to checking functions and what I found. Go to change permission. Inside permission menu have fatal error (attach). And One more problem, and thath is same problem this time in functions file on line 238. I check this line (attach).

***************************************************
* Sends a specified amount of messages from the mail queue
*
* @param int The number of messages to send (Defaults to 10)
*/
function send_mail_queue($count=10)
{
global $db, $cache, $plugins;

$plugins->run_hooks("send_mail_queue_start");

// Check to see if the mail queue has messages needing to be sent
$mailcache = $cache->read("mailqueue");
if($mailcache['queue_size'] > 0 && ($mailcache['locked'] == 0 || $mailcache['locked'] < TIME_NOW-300))
{
// Lock the queue so no other messages can be sent whilst these are (for popular boards)
$cache->update_mailqueue(0, TIME_NOW);

// Fetch emails for this page view - and send them
$query = $db->simple_select("mailqueue", "*", "", array("order_by" => "mid", "order_dir" => "asc", "limit_start" => 0, "limit" => $count));

$plugins->run_hooks_by_ref("send_mail_queue_mail", $query);

while($email = $db->fetch_array($query))
{
// Delete the message from the queue
$db->delete_query("mailqueue", "mid='{$email['mid']}'");

my_mail($email['mailto'], $email['subject'], $email['message'], $email['mailfrom'], "", $email['headers']);
}
// Update the mailqueue cache and remove the lock
$cache->update_mailqueue(TIME_NOW, 0);
}

$plugins->run_hooks("send_mail_queue_end");
}

**********************************************
Where is the line 238:
$plugins->run_hooks("send_mail_queue_start");
**********************************************

And...some problem in Rebuild Forum Counters. When click on GO I have message: "Click "Proceed" to continue the recount and rebuild process" and "Automatically Redirecting", but nothing happening after loong time.
What is that? Effect is like some loop and loop again at the same point.
VIDEO (this video is temporary! only for detailed info whats happening in realtime)
Undecided
Hello!

I have the same error:



Fatal error: Unsupported operand types in /home/.../public_html/forum/inc/functions.php on line 368


Any solution for this?
(2011-04-18, 02:35 PM)t3kla Wrote: [ -> ]Hello!

I have the same error:



Fatal error: Unsupported operand types in /home/.../public_html/forum/inc/functions.php on line 368


Any solution for this?

Re-upload ./inc/functions.php from a fresh download.
(2011-04-18, 02:39 PM)Yaldaram Wrote: [ -> ]
(2011-04-18, 02:35 PM)t3kla Wrote: [ -> ]Hello!

I have the same error:



Fatal error: Unsupported operand types in /home/.../public_html/forum/inc/functions.php on line 368


Any solution for this?

Re-upload ./inc/functions.php from a fresh download.

I did it! But I use GOOGLE SEO Plugin that changes few lines in functions.php

and when I disable google seo, it doesnt change the thing, the same error appears no matter of links view

PROBLEM SOLVED:

the issue was with PLUGIN: LAST VISIT ON POSTBIT

Heart
Pages: 1 2