PHP Notice Error

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
prostar190fan
Posts: 17
Joined: Mon Oct 30, 2017 8:35 pm

PHP Notice Error

Post by prostar190fan »

Script URL: behind firewall
Version of script: 2.7.3
Hosting company: Self
URL of phpinfo.php: behind firewall
URL of session_test.php: behind firewall
What terms did you try when SEARCHING for a solution: php, php error, php7

Write your message below:

I am getting a php notice error: PHP Notice: Only variables should be passed by reference in C:\inetpub\wwwroot\eservicedesk\admin\manage_knowledgebase.php on line 213.

I cannot seem to figure out what is not being passed as a variable. I am using php 7.0.25.

Code: Select all

{
	            $node[$my] = $node[$up]->addItem(new HTML_TreeNode(array('hesk_selected' => $selected, 'text' => $text, 'text_short' => $text_short, 'menu_icons' => $menu_icons, 'hesk_catid' => $cat['id'], 'hesk_select' => 'option'.$j, 'icon' => $icon, 'expandedIcon' => $expandedIcon, 'expanded' => true)));
            }
prostar190fan
Posts: 17
Joined: Mon Oct 30, 2017 8:35 pm

Re: PHP Notice Error

Post by prostar190fan »

This error relates to debug mode, not sure if that makes a difference.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: PHP Notice Error

Post by Klemen »

This has been fixed so long ago I don't even remember when.

So, the reason is you have a very old Hesk version (one not fully compatible with PHP 7) or at least some outstanding files from that version.

If you really are on 2.7.3 I recommend:
1. backup files and database
2. upload ALL Hesk 2.7.3 files again to your server EXCEPT hesk_settings.inc.php one
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
prostar190fan
Posts: 17
Joined: Mon Oct 30, 2017 8:35 pm

Re: PHP Notice Error

Post by prostar190fan »

Thanks Klemen, I will try to do an update and report back. It is an updated installation from 2.2 I believe never seeing a fresh install since the first use.
Post Reply