News:

Loving SimpleDesk? Help us spread the word!

Main Menu

Topic solved
This topic is marked as solved and as such require no attention unless you want to bump this issue.

Multiple errors being generated

Started by Zaphod, July 11, 2022, 03:06:07 PM

Previous topic - Next topic

Zaphod

Hi Having installed Helpdesk V2.0 on SMF 2.0.19 running PHP 7.4, I am getting errors even when help desk is not in use as just a refresh on SMF error log produces the same error being:

"Parameter 1 to shd_buffer_replace() expected to be a reference, value given"

These are the same errors I used to experience on SMF 2.0.18.

I did get an install error "unable to insert before" looking for
"// Fall through to the board index then...
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';

My index.php has the line
"// No? Fall through to the board index then...
else
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';"

So I entered the code insert before this line manually and put markers so I can find it again easily.
Helpdesk is doing everything its supposed to do but is generating these error log messages, these are the same error log messages I used to receive in 2.0.18 without the index.php difference.


Any ideas?

SleePy

Open $sourcedir/sd_source/Subs-SimpleDesk.php

Find:
function shd_buffer_replace(&$buffer)

Replace:
function shd_buffer_replace($buffer)
Jeremy D — Spare-Developer