/* Function to return all the settings table */
function settings_data() {
global $database;
$result = $database->query("SELECT * FROM `settings` WHERE `id` = 1");
$data = $result->fetch_object();
return $data;
}
/* Initiate html columns */
function initiate_html_columns() {
include 'template/includes/initiate_main_column.php';
}
/* Custom die function */
function close($message, $error = false) {
global $languages;
global $language;
global $database;
global $account_user_id;
global $server;
global $category_exists;
echo $message;
include 'template/overall_footer.php';
//include 'core/deinit.php';
die();
}
function display_notifications() {
global $language;
//Functions to quick output stylish errors, notices and success messages
function output_errors($errors) {
global $language;
//if its not an array (just a single message), transform it into an array so it can be displayed properly
if(!is_array($errors)) $errors = array($errors);
function output_success($messages) {
global $language;
//if its not an array (just a single message), transform it into an array so it can be displayed properly
if(!is_array($messages)) $messages = array($messages);
function output_notice($messages) {
global $language;
//if its not an array (just a single message), transform it into an array so it can be displayed properly
if(!is_array($messages)) $messages = array($messages);
Pergunta
TribalWars
Eu estava terminado meu projeto quando derre pente eu coloquei ele na hospedagem ele deu esse erro! Será que alguém poderia me ajudar?
ERROR:
Fatal error: Call to a member function fetch_object() on boolean in /home/u197784789/public_html/core/functions/general.php on line 322
CONFIG DO PROJETO
Link para o comentário
Compartilhar em outros sites
3 respostass a esta questão
Posts Recomendados