WebFaction
Community site: login faq
0
1

I'm getting errors like these:

Strict Standards: Non-static method theme::init() should not be called statically in /home/kdani/webapps/htdocs/textpattern/index.php on line 92

Strict Standards: Non-static method theme::factory() should not be called statically in /home/kdani/webapps/htdocs/textpattern/lib/txplib_theme.php on line 95

Strict Standards: Non-static method theme::path() should not be called statically in /home/kdani/webapps/htdocs/textpattern/lib/txplib_theme.php on line 50

Strict Standards: Non-static method theme::based_on() should not be called statically in /home/kdani/webapps/htdocs/textpattern/theme/codemirror/codemirror.php on line 5

Strict Standards: Non-static method theme::factory() should not be called statically in /home/kdani/webapps/htdocs/textpattern/lib/txplib_theme.php on line 143

Strict Standards: Non-static method theme::path() should not be called statically in /home/kdani/webapps/htdocs/textpattern/lib/txplib_theme.php on line 50

Strict Standards: Declaration of classic_theme::announce() should be compatible with theme::announce($thing = Array) in /home/kdani/webapps/htdocs/textpattern/theme/classic/classic.php on line 124

Strict Standards: Non-static method theme::init() should not be called statically in /home/kdani/webapps/htdocs/textpattern/index.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/kdani/webapps/htdocs/textpattern/index.php:92) in /home/kdani/webapps/htdocs/textpattern/lib/txplib_head.php on line 50

Since I use Textpattern, I woudn't modify the script source. The site is working fine, I'm just getting these errors on some posts and the admin area. Same srcipt didn't show any error on another host. How do I hide them?

asked 04 Aug '12, 05:56

kdani
1111
accept rate: 0%


Textpattern had some issues with PHP version 5.4 that you are currently using for your application.

You either need to switch your application to PHP 5.3 or update your textpattern libraries to a newer version where this issue has been fixed by the developers.

If you don't want to update your textpattern source code, you can probably edit just the two files that were causing this issue. You can see their differences here.

permanent link

answered 04 Aug '12, 06:43

iliasr ♦♦
2.2k14
accept rate: 34%

Thanks a lot, it solved my problem!

I hope the latest official Textpattern update will solve this issue.

(04 Aug '12, 07:22) kdani
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×263
×1
×1

question asked: 04 Aug '12, 05:56

question was seen: 10,101 times

last updated: 04 Aug '12, 07:22

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM