Jump to content

Dean

Members
  • Content Count

    44
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Dean

  • Rank
    Jr. Member
  • Birthday 11/06/1976

Profile Information

  • Gender
    Male
  • Location
    West Midlands, UK

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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?
  2. Thank you @Jan Romero. I have since started posted in the Formbuilder forum. This is an old post. 🤥 I shall have a read of https://processwire.com/store/form-builder/hooks/.
  3. Thanks @Jan Romero, but this isn't in my code, it's part of the Form Builder. Can I hook into the 'Send checked to pages' function somehow maybe?
  4. This is magical @Jan Romero. When you say 'put this in there', where is 'there'? 😜
  5. Actually, it was my fault. I hadn't matched the title to the relevant form field in My Form > Actions > Save to ProcessWire Pages > Page Fields to Form Fields. While we're discussing this, is there a way to trigger an email when sending the form entry to a page. I'd like to be able to tell the user their log in name and password and tell them they can log in now.
  6. Dean

    Fatal Error

    The reason I was creating another user template was because I think there is no name field on the user-hunt template which I think is what was causing the issue with the weird name that was being added when a new user registered. Can you add the name field for me?
  7. Dean

    Fatal Error

    Possibly because I deleted it out of the templates table thinking that was the issue.
  8. Dean

    Fatal Error

    I think the last thing I did was to duplicate the user-hunt template and call it user-hunt2. If you think you can undo what's causing the issue then super! 🤩
  9. Dean

    Fatal Error

    Only 140kb. ☺️
  10. Dean

    Fatal Error

    Sure. Is it safe to attach the mysql dump here? Thanks for all the help btw.
  11. Dean

    Fatal Error

    I've deleted the template from the 'templates' table but no difference.
  12. Dean

    Fatal Error

    Yes, it was fine last night and that's the only change I've done this morning I think.
  13. Dean

    Fatal Error

    Possibly @kongondo. But that was working apart from the name it used. So this morning I duplicated the user template again following the instructions here: https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users Could a crazy user template be causing it? Can I remove it without access to admin?
  14. Dean

    Fatal Error

    Hi @teppo, Every single page is triggering the error, so I can't even get into PW admin I've not changed/updated any modules. The only one I had installed was form builder with stripe I've not update ProcessWire It was all working fine yesterday. Then I came to look at it this morning and I'm getting this. And I was already on I tight schedule to get it done. 🤯
  15. Dean

    Fatal Error

    Hi @psy, all I have in the log is 2020-06-01 10:28:59 ? http://[url].com/register/ Recoverable Fatal Error: Argument 1 passed to ProcessWire\Users::setCurrentUser() must be an instance of ProcessWire\User, instance of ProcessWire\Page given, called in /var/www/web/wire/core/Session.php on line 188 and defined (line 68 of /var/www/web/wire/core/Users.php) I thought that I was maybe overwriting $user somewhere, but I've searched for $user and there are none.
×
×
  • Create New...