Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-03-22 12:02:58

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

[Solved] Call to a member function start() on null in publish.php

Hello,

I must make installed TXP 4.8.8 on 4.5.7, because the website was white (nothings to see and I couldn’t go into backend) – and have switch the php from 5.xx to 7.02 and now get an error:

Fatal error: Uncaught Error: Call to a member function start() on null in /textpattern/publish.php:35 Stack trace: #0 /index.php(82): include() #1 {main} thrown in textpattern/publish.php on line 35

I have Plugins set off – nothings help to deleting the error-line.

Any Ideas, what I can do?

Much thanks
Lythande

Voruntersuchung

Some Textpattern files have been modified:
css.php,
index.php

Clean URL data test failed: <br />

Diagnose:

Textpattern version: 4.8.8 (da58ea44b4d22303e97e5aa044db5fc0)
Last update: 2022-03-22 10:40:04/2022-03-22 10:38:48
Site URL: 
Admin URL: w
Document root: /
$path_to_site: /ku
Textpattern path: /k
Article URL pattern: section_title
Production status: live
upload_tmp_dir: /
Temporary directory path: /
PHP version: 7.2.34
GD Graphics Library: 2.2.5; Supported formats: GIF, JPEG, PNG, WebP.
Intl extension: 1.1.0
Multibyte String extension: 7.2.34
Server time zone: Europe/Berlin
Server local time: 2022-03-22 12:33:31
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): Europe/Berlin (3600)
MySQL: 5.7.37-log (MySQL Community Server (GPL)) 
Database server time: 2022-03-22 12:33:31
Database server time offset: 1 s
Database server time zone: SYSTEM
Database session time zone: SYSTEM
Locale: de_DE.UTF-8
Site / Admin language: de / en
Web server: Apache
PHP server API: fpm-fcgi
PHP SSL version: OpenSSL 1.1.1g FIPS  21 Apr 2020
RFC 2616 headers: 0
Server OS: Linux 3.10.0-1160.59.1.el7.x86_64
Admin-side theme: classic 4.8.8
Active plugins: 
	dtj_obfuscated_email-0.3
	etc_search-0.9.5
	mg_setheader-0.1
	pap_contact_cleaner-0.1 (modified)
	pro_mobile-0.4
	rah_comment_spam-0.7
	smd_lib-0.36
	smd_random_banner-0.42
	soo_toc-0.1.4
	upm_image-0.6.2
	zem_contact_lang-de-4.0.3.6 (modified)
	zem_contact_reborn-4.0.3.20 (modified)

Pre-flight check: 
------------------------
Some Textpattern files have been modified: 
	css.php, 
	index.php
Clean URL data test failed: <br />
------------------------

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/
	RewriteBase /

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

------------------------

Last edited by lythande (2022-04-06 14:16:20)

Offline

#2 2022-03-22 12:34:20

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: [Solved] Call to a member function start() on null in publish.php

lythande wrote #332971:

Some Textpattern files have been modified

I would start there and make sure that these two files are uploaded from the 4.8.8 bundle. Unless you’ve modified them on purpose? In which case you may need to merge the new ones in and redo your changes.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2022-03-22 19:04:05

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: [Solved] Call to a member function start() on null in publish.php

Much thanks Bloke, that works! :)

Only the “Clean URL data test failed: &lt;br /&gt;” is still there. Maybe I should look my site-code of this code-snipped?

Its disappeared, after I change an plugin and actualised it. :)

Last edited by lythande (2022-03-22 20:17:57)

Offline

Board footer

Powered by FluxBB