(REQ) Xerochat Template Mega Pack (chatpion)

egytitanic

Member
Feb 7, 2021
39
22
8
Hi awesome friends
That's my first request here
im looking for templates for my chatpion website to let users quick start I'm found addon that called
(Xerochat Template Mega Pack )
I need it or any smiller addone
Thank you all
Thank you awesome babiato
 

Miskin

New member
Jun 10, 2022
1
0
1
Hello.. nrw here.
I got a problem. How to fix this err msg:

A PHP Error was encountered​

Severity: Warning
Message: foreach() argument must be of type array|object, int given
Filename: database/DB_query_builder.php
Line Number: 1132


The said part:
/**
* GROUP BY
*
* @param string $by
* @param bool $escape
* @return CI_DB_query_builder
*/
public function group_by($by, $escape = NULL)
{
is_bool($escape) OR $escape = $this->_protect_identifiers;

if (is_string($by))
{
$by = ($escape === TRUE)
? explode(',', $by)
: array($by);
}

foreach ($by as $val)
{
$val = trim($val);

if ($val !== '')
{
$val = array('field' => $val, 'escape' => $escape);

$this->qb_groupby[] = $val;
if ($this->qb_caching === TRUE)
{
$this->qb_cache_groupby[] = $val;
$this->qb_cache_exists[] = 'groupby';
}
}
}

return $this;
}



I'm using a v8.1.4. Trying out the script. Everything works but this err msg pop up.
Line 1132: foreach ($by as $val)

Plz advice me on this. I'm using a script originated from here but I can't find the one who posted it to ask for his/her advice. Thanks in advance
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu