Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-03 18:21:02

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

[SOLVED] Help! Fatal error

Fatal error: Only variables can be passed by reference in /var/www/html/ec/mysite.tld/textpattern/lib/txplib_misc.php(638) : eval()'d code on line 26

I’ve never seen this before. I just published some updates to templates, and it broke the entire site. Same code works fine on development server. I’m about to revert through version control, but any help tracking down the problem would be greatly appreciated!

Thank you!

Offline

#2 2011-03-03 18:25:45

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [SOLVED] Help! Fatal error

Diagnostics is suddenly giving me this error:

Pre-flight check

clean_url_data_failed: <br />

Never had that problem before.

Offline

#3 2011-03-03 21:54:00

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [SOLVED] Help! Fatal error

As it happens I just looked up txplib_misc.php(638) in reference to another post, and it’s where plugin code is tested. This error message is, as I recall, something that PHP started treating more strictly in PHP 5.


Code is topiary

Offline

#4 2011-03-03 22:10:50

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [SOLVED] Help! Fatal error

I was able to fix it by restoring the database from this morning’s backup. Woo! I think there was a glitch in a plugin I tested today, and it worked fine after I installed a revised version of the plugin.

Offline

#5 2011-03-04 02:50:51

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 999
Website

Re: [SOLVED] Help! Fatal error

Thanks, Jeff!

Offline

Board footer

Powered by FluxBB