Recently Browsing 0 members
No registered users viewing this page.
Hey all. I'm having an issue with the new custom page classes feature which is a fantastic tool.
I am running into a recursion issue when attempting to call a custom page class. I have a class called BlogPostPage.php (for blog-post.php) which contains a method called getSummary(). That method gets a summary field or truncates the body in it's absence. I've attached photos of the template code, custom page class code (which I've simplified for testing), and the PW output error.
There is no recursion in the getSummary() method. This error occurs whether I output multiple blog posts in a loop or if I output one blog post with no looping in my template code.
ProcessWire 3.0.164 dev
I am also using the Template Engine Twig module which has not caused any errors or issues thus far.
By Peter Knight
My .htaccess file is correctly redirecting all requests to
https:// www. That's great until I want to work locally.
I thought I had seen a blog post by Ryan where there was a new config setting to ignore both of these if working from localhost?
I can't find it now so wondering if I was imagining 😕
Hello Dear PW Gurus.
Hope you fair well in these Corona Crisis times.
Anyhow, i have a problem with a Cryptic error message that shows up when i am trying to Delete images out of a Images field.
The Error message does say a little but it does not make sense to me why i can´t delete the images because of it.
Is it some permission issue perhaps?
I will attach screenshots of it and what i did prior to it.
I am from sweden so ignore the funny words here and there.
Hope you all can send me on the right track.
i am running PW 3.0.139 on this install.
Step 2: Select the images with the trashcan symbol
Step 3: Cryptic Error message
I am scratching my head on this one, have not seen this before.
Thankfull for all help.
Hello forum. I'm trying to figure out how to detect if current form has errors after saving it in pw admin page. This is so that our event location isn't added in database if we detect errors. But I can't seem to find a correct way to detect errors? I only found the wire()->errors() and it always triggers even if I don't have any errors.
How can I detect errors in a form?
By error I mean $page->error('this is the red error');