modxcms / Collections

An Extra for MODX Revolution that provides for Resource Collections managed by CollectionContainer Resources
GNU General Public License v2.0
53 stars 37 forks source link

Unable to create a new Collections View #349

Closed BeePie16 closed 1 year ago

BeePie16 commented 2 years ago

I've been trying to create a new collections view, but when I click save, it is stuck at the animating saving progress bar.

No collection related errors appear in the error log regarding this issue.

This is for version 3.7.1 on a 2.8.3 Modx Revolution environment.

eire69k commented 1 year ago

I have the same problem since I have set the php-version to 8.0 + 8.1

I can't save the new view. The following error messages are displayed in the system: (For readability I have shortened the messages to the most important lines)

(ERROR @ /is/htdocs/.../www/devel/core/vendor/james-heinrich/phpthumb/phpthumb.class.php : 379) PHP warning: Undefined property: MODX\Revolution\modPhpThumb::$cache_source_enabled
(ERROR @ /is/htdocs/.../www/devel/core/vendor/james-heinrich/phpthumb/phpthumb.class.php : 379) PHP warning: Undefined property: MODX\Revolution\modPhpThumb::$cache_source_directory
(ERROR @ /is/htdocs/.../www/devel/core/vendor/james-heinrich/phpthumb/phpthumb.class.php : 379) PHP warning: Undefined property: MODX\Revolution\modPhpThumb::$allow_local_http_src
(ERROR @ /is/htdocs/.../www/devel/core/vendor/james-heinrich/phpthumb/phpthumb.class.php : 379) PHP warning: Undefined property: MODX\Revolution\modPhpThumb::$cache_directory_depth
(ERROR @ /is/htdocs/.../www/.../core/src/Revolution/modPhpThumb.php : 335)
PHP warning: Undefined array key "sia"
- 335) PHP warning: Undefined array key "down"
- 335) PHP warning: Undefined array key "f"
- 337) PHP warning: Undefined array key "down"
- 339) PHP warning: Undefined array key "down"
- 305) PHP warning: Undefined array key "HTTP_IF_MODIFIED_SINCE"

Environment: MODX Revolution: 2.8.4, 2.8.5, 3.0.1 and 3.0.2

Ps.: I use the new Collections 4.0.0-beta1

bennyb commented 1 year ago

Yeah getting the same issue on php 8.1. Also been mentioned here. https://community.modx.com/t/creating-collections-view-returns-500-error/6132

Best work around is to duplicate a current view and then edit.

rthrash commented 1 year ago

This issue has been mentioned on MODX Community. There might be relevant details there:

https://community.modx.com/t/3-0-3-change-document-to-collection-no-content-anymore/6403/4