LauraSuzy
Forum Replies Created
-
I am having a similar problem – my pods content cannot be created or edited on the front end except by administrators since my site updated to WP 6.6.1 this week. Since administrator users can still use the front-end interfaces, I tried updating the user roles and capabilities for our other users, but that still isn’t working. I’m at a loss… any ideas?
So does this mean if I want to create a front-end form, I need to code up a custom PHP template? Is there a way to use shortcodes or something to do some of the form, but add another field for the “add new” option? Or maybe just have them add the Organization first on a new page in a new window, then reload the form? what do you suggest?
Is there a video or screen grab showing the checkbox to which you are referring? I cannot find it in the documentation. I have seen some videos where I can use magic tags to grab an id off of the query string and use that to determine what gets displayed on the page, but that’s not quite what I want.
What I am trying to do is to set up a page where an end-user who has an account on my site can create a log of volunteer hours for themselves or for their children. I have used the Pods Form block to create a page where I can submit a new log entry, but it doesn’t correctly associate it with the parent pod or the the currently logged in user. I was hoping to use the pods blocks to effectively make an archive page for the current user and use the Pods Form block to allow the already existing entries to be edited, or a new one to be created. I could alternately write a custom PHP temlate in my theme that would query for only the pod items that are owned/created by the current user, but it would be nicer if this could be done dynamically with the pods blocks.
Another complication is that I have Parent & Student relationships defined, and the logged-in user might be a parent with multiple students, or the student itself, so a parent will ultimately need to be able to choose which student they want to edit log items for.
I feel like I am so close to getting this all working, but there must be something basic I am missing despite looking at examples and searching the documentation. Can you please point me towards any resources that demonstrate:
a) how to edit existng pods content (CPT content) using the Pods Form block?
b) how to display only pods content (CPT content) that is owned/created by the current user?
Thanks!
Can you clarify exactly where to put the “use_current” keyword? Does it go in the slug ID field when editing the block settings for the pod form?
My problem ended up being totally unrelated. I had checked the “only purge CDN manually” button, and that’s why my images weren’t getting transferred to S3 – it wasn’t a credentials problem for me. I hope you get some help from someone that can solve the mystery with you! Good luck!
Forum: Plugins
In reply to: [W3 Total Cache] CDN enabled but not authorized – must upload images manuallyI think I found the problem! I unchecked the “Only purge?CDN?manually” checkbox under “Advanced”, and that seems to have made it so that the images get uploaded automatically again. I don’t remember checking that box, but maybe I did at some point trying to fix some other problem.
Hooray! I hope this helps someone.
@djdavies75 – I am looking at your errors to see if it gives me any ideas about mine. It looks like it cannot find the Credentials class, (PHP message: PHP Fatal error: Uncaught Error: Class “Aws\Credentials\Credentials” not found), so I am wondering: does your file installation path include the AWS files at /plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/Credentials/Credentials.php ? Or maybe is the file there, but permissions for the file or folder tree are insufficient?
As an aside, while searching for that file, I discovered that the WP Offload SES plugin also uses a copy of the AWS sdk, so that could potentially be a point of conflict. I’m going to see if disabling my other AWS-dependent plugins fixes my problem.
Forum: Plugins
In reply to: [W3 Total Cache] CDN enabled but not authorized – must upload images manuallyI’d like to add some additional troubleshooting details:
- I tried rolling back to W3TC version 2.4.1 because i did not have the “not authorized” message, but it has the same problem where the images are not uploaded to S3.
- I tried W3TC versions 2.5 and 2.6 and still have the same problem, the newly uploaded images do not get automatically copied up to S3 like they used to.
- I did discover that if I go to the Media Library and click “Purge from CDN” on a specific recently uploaded image, it does correctly send that image to S3, and then it is visible on the site. So at least I have found a way to fix individual images as we upload them.
Also, when I check my PHP error logs after doing step 3 above, and grep for the string “S3”, I see these results:
/var/log/php-fpm/www-error.log:[07-Feb-2024 13:26:22 UTC] PHP Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/app/current/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/S3/S3Client.php on line 418
/var/log/php-fpm/www-error.log:[07-Feb-2024 13:27:03 UTC] PHP Deprecated:? Use of “self” in callables is deprecated in /var/app/current/wp-content/plugins/w3-total-cache/vendor/aws/aws-sdk-php/src/S3/RegionalEndpoint/ConfigurationProvider.php on line 83
Also, after clicking “Purge from CDN” for a specific image and seeing it show up, I get a lot of deprecation warnings in the error log, plus I also get this error in the unsuccessful file transfer queue: Unable to create invalidation batch (Error executing “CreateInvalidation” on “https://cloudfront.amazonaws.com/2018-11-05/distribution/E2KHU9V483SRE2/
I’m not sure why it has that 2018 date in there? The photo was from 2015 and I just uploaded it today.
Let me know if any of that information helps.
I am having a similar problem. We noticed that images were no longer getting pushed to S3 automatically (but they are on the origin EC2 instance), but they do get uploaded if I choose the “upload attachments” button in the CDN settings. When this problem presented itself, I discovered that I had an unauthorized administrator using in my AWS account, created around approximately the same time. I am not sure how they gained access, but my api key for the AWS connection had disappeared. I created a new passkey and the W3TC test now passes, but the images I upload to my media library still don’t go to S3 like they used to.
I have the same problem on my website, test passes, but the images are not getting uploaded from the web server to S3. If I manually push them by clicking the “upload attachments” button, they show up in media library and in the post where they are supposed to. But they used to automatically get uploaded when we uploaded them to the media library.
W3TC Version 2.6.1?, WP 6.3.2
Please help?
Forum: Plugins
In reply to: [W3 Total Cache] Content Delivery Network object enabled and not authorizedI am having the same error but my most recently updated media files did not get copied up to S3, and I’m not sure why.
Forum: Plugins
In reply to: [Controlled Admin Access] Not hiding menus like it shouldThank you so much, that was it! I was doing it backwards. ??
Forum: Plugins
In reply to: [Getwid - Gutenberg Blocks] drag accordion blocks or decrease indent?I wanted to add that I can use the Move To command if the blocks are at the same level, but when I want to effectively increase or decrease the indent of the nested block, Move To doesn’t help me.
Forum: Plugins
In reply to: [RSS to Posts] pubDate with GMTDid you find a solution for this? My MailChimp campaigns aren’t going out on time because the pubDate in my RSS feed is not in our time zone, so I need to get it updated. Help?
I also tried to put the client_id into the URL because I confirmed it is missing (this should be reported as a bug!), and then got a different error from Google: Error: invalid_request OAuth 2 parameters can only have a single value: client_id
Can anybody help fix this? Either with step-by-step instructions that are a bit more specific, or by fixing the plugin itself?