All add-ons currently require PHP 7.4 or greater.
On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.
Please read about the changes to BoldMinded add-on licensing.
Ticket: Publisher and Speedy
Status | Resolved |
Add-on / Version | Publisher 3.10.1 |
Severity | |
EE Version | 7.4.10 |
Hop Studios
Jun 27, 2024Description of the problem I am using Publisher addon on a site which has Speedy implemented already. It works fine if I disable Speedy, but I want Publisher to work with speedy, so that caching works as it is. The problem is that when I switch the view, the publisher_status is sent in the address bar, but the page is shown what was cached already. Do I need to update the Speedy tags? if yes, how?
How To Reproduce Steps to reproduce the behavior:
- Enable Speedy, using Speedy fragment tag, and add a switcher at the top of that page which only shows to the admin
- Make changes to an entry
- Go to the detail page of that entry and click on ‘Draft’ in the switcher
- You will not see any difference only the URL has been changed
- Whereas if I disable Speedy, I see the Cached entry in such a case
Environment Details: - Version: 7.4.10 - PHP Version 8.1 - MySQL Version - OS: Nexcess - Web Server: Apache
Possible Solution We can warp the Speedy tag in some conditional like this - “` {if publisher_status != 'draft'} SPEDY Tag open {/if}
….. Speedy tags and other content
{if {publisher_status} != ‘draft’} SPEDY Tag close {/if} “““
Additional context Or if you have any other solution that please share.
BoldMinded (Brian)
I take it you’re not using static caching?
BoldMinded (Brian)
Try the build in the next comment with this parameter:
BoldMinded (Brian)
Comment has been marked private.
Hop Studios
Comment has been marked private.
Hop Studios
Comment has been marked private.
BoldMinded (Brian)
Yep, I’ll include this in the next release and update the docs. Glad to hear its working as expected!