Dean Posted June 5, 2020 Share Posted June 5, 2020 Dear community I have put a site live by FTPing files, copying database, updating config, emptying cache DB table. But I now have this: Fatal Error: Uncaught Error: Call to a member function execute() on null in /var/www/vhosts/mydomain.com/httpdocs/index.php:55 Can anyone help please? Link to comment Share on other sites More sharing options...
kongondo Posted June 5, 2020 Share Posted June 5, 2020 2 hours ago, Dean said: Can anyone help please? That line wants to execute ProcessPageView. The error means that line 53 returned null: $process = $wire->modules->get('ProcessPageView'); /** @var ProcessPageView $process */ My guess is that files were either not transferred correctly, or fully or were corrupted. FTP can be notorious for converting files on route! (ASCII vs Binary) I'd suggests this: Upload a zip of ProcessWire Unzip the files when they are on the server Install ProcessWire Upload a zip with the file assets Unzip the assets Do the database import Alternatively Install ProcessWire on the server using this script by Soma (you might need to edit it first) Follow steps #3 - 6 above Later, you can sort out your FTP file transfer settings. 5 Link to comment Share on other sites More sharing options...
Dean Posted June 6, 2020 Author Share Posted June 6, 2020 Many thank-yous @kongondo. The site is now working. Kind of. For some reason ProcessWire is showing as the crummy old version (see screenshot), yet I'm using v3.0.148. And the pages aren't showing on /processwire/page/. Everything else seems fine. Link to comment Share on other sites More sharing options...
Dean Posted June 6, 2020 Author Share Posted June 6, 2020 I did find this in the console log: Uncaught ReferenceError: ProcessWire is not defined at ProcessPageListInit Link to comment Share on other sites More sharing options...
Dean Posted June 6, 2020 Author Share Posted June 6, 2020 Strangely, installing Reno's admin theme has fixed everything. Thank you @renobird Link to comment Share on other sites More sharing options...
kongondo Posted June 6, 2020 Share Posted June 6, 2020 13 hours ago, Dean said: For some reason ProcessWire is showing as the crummy old version (see screenshot), yet I'm using v3.0.148. I don't think we've ever gotten to grips with this bug. It bites some people every now and then. 12 hours ago, Dean said: Strangely, installing Reno's admin theme has fixed everything. Excellent! Glad you got it sorted ? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now