NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

uwuCatboy_

Member

Feed

There are no wall posts here yet.

About

Registered:
over 3 years ago
Last Seen:
about 1 year ago
Profile Views:
718
Minecraft
uwuCatboy_

Latest Posts

over 2 years ago
Tebex Store Error

Uncaught TypeError

count(): Argument #1 ($value) must be of type Countable|array, string given

(File: /home/boxsmpxy/domains/ravenhide.xyz/public_html/modules/Tebex/pages/store/category.php)

<?php
/*
 *	Made by Samerton
 *  https://github.com/NamelessMC/Nameless/
 *  NamelessMC version 2.0.0-pr6
 *
 *  License: MIT
 *
 *  Store page - category view
 */

// Always define page name
define('PAGE', 'buycraft');

// Get category ID
$category_id = explode('/', $route);
$category_id = $category_id[count($category_id) - 1];

if(!isset($category_id[count($category_id) - 1])){
	require_once(ROOT_PATH . '/404.php');
	die();
}

$category_id = explode('-', $category_id);
if(!is_numeric($category_id[0])){
	require_once(ROOT_PATH . '/404.php');
	die();
}
$category_id = $category_id[0];

// Query category
$category = DB::getInstance()->query('SELECT categories.id AS id, categories.name AS name, categories.parent_category AS parent_category, descriptions.description AS description, descriptions.image AS image FROM nl2_buycraft_categories AS categories LEFT JOIN nl2_buycraft_categories_descriptions AS descriptions ON descriptions.category_id = categories.id WHERE categories.id = ?', array($category_id));

if(!$category->count()){
	require_once(ROOT_PATH . '/404.php');
	die();
}

$category = $category->first();

over 3 years ago
NamelessMC not working for me?

I'm setting up a namelessMC website for someone, and after installation it does not show the regular DefaultRevamp. I'm using pr11, I already tried pr12. I checked and reinstalled multiple times, it is not anything in the installation or MySQL database. I've also reset the MySQL database as well. I'm using GoDaddy hosting and a subdomain, with no modules or extra templates. 

 

Here is the staff panel: https://imgur.com/a/Dr1AEw0

Here is the home page: https://imgur.com/a/wKlof39

over 3 years ago
"Invalid token" when trying to enable a Widget.

I'm also having this issue, using a custom template that supports pr-12. Looks like I just can't enable/disable widgets, but I can edit them.