This topic was marked solved by its starter, on May 20th, 2014, 05:41 PM
Errors in Subs-Template.php
[Notifications ] Impossible to change settings »

txcas

  • Bug Zapper
  • Posts: 202
Errors in Subs-Template.php
« on April 22nd, 2014, 10:19 PM »
I am getting thousands of these:
Code: [Select]
http://www.65creedmoor.com/
2: array_keys() expects parameter 1 to be array, null given
 File: /home/creedmoo/public_html/gz/app/Subs-Template.php
 Line: 407
Code: [Select]
Apply Filter: Only show the error messages of this URL http://www.65creedmoor.com/?topic=2008.msg17171
 2: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array
File: /home/creedmoo/public_html/gz/app/Subs-Template.php
 Line: 406

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Errors in Subs-Template.php
« Reply #1, on April 28th, 2014, 10:54 PM »
What's in your page_replacements variable..? (print_r($settings['page_replacements']) somewhere in a template, don't forget to global $settings of course.)
Looks like the unserialize is failing, perhaps because it's set but empty.... I'll add a failsafe for that.

txcas

  • Bug Zapper
  • Posts: 202