Tiki Wiki: Notice: Only variable references should be returned by reference

PHP Scripts | Updated 2026

The "Notice: Only variable references should be returned by reference" error in Tiki Wiki is a PHP compatibility issue. Older versions of Tiki Wiki use syntax that triggers this notice in PHP 5.6+ and later. Here is how to fix it.

01. Fix: Update Tiki Wiki

This error occurs because older Tiki Wiki code returns function results by reference using syntax that modern PHP no longer allows. Current versions of Tiki Wiki have fixed this. Visit tiki.org to download the latest version.

Before updating, back up your database and files. See How to Back Up Your Website.

02. Temporary Fix: Suppress Notices

If you cannot update right away, you can hide PHP notices (which are informational, not errors) by adding this to a .user.ini file in your site's directory:

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

Or in your .htaccess (if PHP runs as an Apache module):

php_value error_reporting 22527

You can also set this in cPanel > Software > MultiPHP INI Editor by changing the error_reporting value for your domain.

Important

Suppressing notices hides the symptoms but does not fix the underlying code. Older PHP applications that generate these notices may also have security vulnerabilities. Updating is always the better long-term solution.

This same notice can appear in other applications like Moodle, Joomla, and custom PHP scripts. The cause and fix are the same: update the application or suppress notices.

Need Help Updating?

If you need help updating Tiki Wiki or resolving PHP compatibility issues, open a ticket.

Open a Support Ticket

Quick Recap

  1. This is a PHP compatibility notice, not a fatal error
  2. Update Tiki Wiki to the latest version for a proper fix
  3. Suppress notices temporarily via .user.ini or MultiPHP INI Editor
  4. Back up before updating
  5. Old applications may have security vulnerabilities - updating is important

PHP script compatibility · Last updated March 2026 · Browse all PHP Scripts articles

  • 481 Users Found This Useful

Was this answer helpful?

Related Articles

PHPList Email Throttling

PHP Scripts | Updated 2026 PHPList is an open-source email newsletter manager. If your...

How to reset the admin password in Drupal

PHP Scripts | Updated 2026 If you are locked out of your Drupal admin panel, you can reset...

How to turn off magic quotes gpc for Joomla 3

PHP Scripts | Updated 2026 The magic_quotes_gpc setting was a PHP feature that automatically...

How do I reset Zen Cart administrator password?

PHP Scripts | Updated 2026 If you are locked out of your Zen Cart admin panel, you can reset...



Save 30% on web hosting - Use coupon code Hosting30