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: Unable to load Revision with Grid data

Status Resolved
Add-on / Version Publisher Lite 2.11.2
Severity
EE Version 5.1.1

Mighty Citizen

Aug 29, 2019

Steps to reproduce:
1. Add grid row content, save
2. Add more grid row content, save
3. Try to revert to the original revision, get the following error:

We were unable to update this entry, please review and fix errors below.

And below the grid field, we get this error:

You are not authorized to perform this action

Seems like it’s an issue with the revision using the [new_row_X] for its field names but really it should be the [row_id_X] to update the old row content

Here’s a specific revision url that you can try saving to see the error: [cp_url]?/cp/publish/edit/entry/5777&version=13887

#1

BoldMinded (Brian)

Thanks for reporting this. Due to the upcoming holiday weekend I probably won’t get a chance to take a look at it until late next week.

#2

BoldMinded (Brian)

Note to self. This is something to do with grid_query() hook getting called when attempting to re-save the entry, perhaps in the validation step, and Publisher is returning the current rows, e.g. the last saved rows that contain an extra row that is not existent in the revision data.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

BoldMinded (Brian)

Comment has been marked private.

Login to reply