Closed jmacdonald-spectacle closed 1 year ago
An update on this. I was really hoping PHP 8 was to blame but it's still not working with PHP 8.0.10
Apparently: "This function has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged."
https://www.php.net/manual/en/function.each
So, I can live with that. Hope it gets fixed someday.
No longer a problem in MIGX 3.0.0-alpha5
Switched to PHP 8 and found trouble saving my configs. After I rebuilt one, I have tracked down what causes the problem.
If I enable duplicate_migx or remove_migx in either Contextmenues or Columnbuttons, 'Save and Close' will not close the MIGX window. If I uncheck them, no problem. (edit_migx is not a problem.)
Further, if I click the Save button and then the Close button, the window closes, but the changes aren't saved. I think this is because the 'Close' button is really a 'Cancel' button and should be named as such.
PHP 7.4 works fine.
I get the following 500 error in the browser console and server log:
and this nginx error in the server log:
MODX 2.8.3; MIGX 2.13.0; PHP 8.0.7