PHP Scripts

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

Updated November 2026 13,309 views 2 min read
PHP Scripts | Updated November 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

Frequently Asked Questions

What causes the Only variable references should be returned by reference notice in Tiki Wiki?

It is a PHP compatibility notice. Older Tiki Wiki versions use syntax that newer PHP (5.6 and later) flags with this notice. It is a warning about outdated code, not a fatal error, though it can clutter the page or logs.

How do I fix the Tiki Wiki reference notice?

The proper fix is to update Tiki Wiki to a current version that is compatible with your PHP version, which removes the outdated syntax. Keeping the software current is the recommended long-term solution.

Can I just hide the notice instead of updating?

Yes, as a temporary measure you can suppress PHP notices by adjusting error reporting so notices are not displayed, which stops the message from showing on the page. This hides the symptom but does not fix the underlying old code, so plan to update.

Will this notice break my Tiki Wiki site?

Usually not. It is a notice rather than a fatal error, so the site generally still works, but it can appear in output or fill logs. Updating Tiki Wiki or suppressing notices resolves the display issue.

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 November 2026 · Browse all PHP Scripts articles

Share: X in Reddit f Email
  • 481 Users Found This Useful

Was this answer helpful?

Related Articles

Best WP Plugins

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

How to turn off magic quotes gpc for Joomla 3

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

PHPList Email Throttling

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

How do I reset Zen Cart administrator password?

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

How do I reset Joomla administrator password?

PHP Scripts | Updated November 2026 If you have lost your Joomla administrator password and...



Save 30% on web hosting - Use coupon code Hosting30