Skip to main content
Topic: Configuring theme member options (Read 1825 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Configuring theme member options

1.1 RC1, php7.  When configuring theme member options there is an error.  Specifically when trying to enable Quick Reply for all members produces the error "Invalid argument supplied for foreach()". 

Any help is appreciate as always.  Hope everyone is well!   8)

Re: Configuring theme member options

Reply #1

In sources/admin ... open the file ManageThemes.controller.php

find this block (around line 458)
Code: (find) [Select]
			if (empty($this->_req->post->options))
$this->_options = array();

if (empty($this->_req->post->default_options))
$this->_default_options = array();

replace the above with
Code: (replace) [Select]
			$this->_options = $this->_req->getPost('options', '', array());
$this->_default_options = $this->_req->getPost('default_options', '', array());

Re: Configuring theme member options

Reply #2

Thanks Spuds!   ;)