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

Moodle: Notice: Only variable references should be returned by reference

PHP Scripts | Updated 2026 The "Notice: Only variable references should be returned by...

Strict Standards Error in Joomla

PHP Scripts | Updated 2026 Strict Standards errors in Joomla (such as "Strict Standards:...

Turn off PHP error messages via htaccess

PHP | Updated 2026 Quick Answer To disable PHP error messages from displaying on your...

Best WP Plugins

WordPress | Updated March 2026 Here are the most recommended WordPress plugins across the...

Coppermine Gallery cannot create thumbnails

PHP Scripts | Updated 2026 If Coppermine Photo Gallery cannot create thumbnails or...



Save 30% on web hosting - Use coupon code Hosting30