Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.2 error #4

Open
Jimmi08 opened this issue Dec 8, 2024 · 1 comment
Open

PHP 8.2 error #4

Jimmi08 opened this issue Dec 8, 2024 · 1 comment

Comments

@Jimmi08
Copy link
Collaborator

Jimmi08 commented Dec 8, 2024

Hi,
just testing, nothing more.

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\wamp64\www\e107estata\eplugins\estate\ui\core.php on line 1548

Call Stack
--

1 | 0.0021 | 376920 | {main}( ) | ...\admin_config.php:0
2 | 0.2578 | 2205968 | e_admin_dispatcher->runPage( $return_type = ??? ) | ...\admin_config.php:124
3 | 0.2578 | 2205968 | e_admin_controller->dispatchPage( $action = ??? ) | ...\admin_ui.php:1375
4 | 0.2579 | 2222552 | estate_listing_ui->listPage( ) | ...\admin_ui.php:2354
5 | 0.2590 | 2202512 | estateCore->estPropertyListTable( ) | ...\listing.php:1671
6 | 0.2719 | 2232176 | estateCore->estPropertyListTableSF( $mode = 2, $DTA = ['USERS' => [], 'AGENTS' => [1 => [...]], 'AGENTFLTR' => ['' => [...], 0 => [...]], 'AGTIDS' => [0 => 1], 'TR' => [], 'ZONES' => [1 => [...], 2 => [...], 3 => [...]], 'FLTR' => ['WHERE' => [...], 'ORDER' => [...], 'LIMIT' => [...]], 'COUNTED' => '0', 'REMOVED' => 0, 'QRYZ' => '[2]SELECT COUNT(\'prop_idx\') AS counted FROM `#estate_properties` WHERE prop_agent=\'0\' ', 'QRY' => '\r\n SELECT prop_idx, prop_name, prop_agency, prop_agent, prop_addr1, prop_addr2, prop_country, prop_state, prop_county, prop_city, prop_zip, prop_subdiv, prop_datecreated, prop_dateupdated, prop_uidcreate, prop_uidupdate, prop_status, prop_listype, prop_zoning, prop_type, prop_currency, prop_listprice, prop_origprice, prop_locale, prop_thmb, prop_appr, prop_views, prop_saves, city_name AS city, cnty_name AS county, state_name AS state, state_init AS ST, state_country AS nat\r\n FROM `#estate_properties` '...] ) | ...\core.php:2056
7 | 0.2732 | 2241064 | estateCore->PropertyListTableTR( $DTA = ['USERS' => [], 'AGENTS' => [1 => [...]], 'AGENTFLTR' => ['' => [...], 0 => [...]], 'AGTIDS' => [0 => 1], 'TR' => [], 'ZONES' => [1 => [...], 2 => [...], 3 => [...]], 'FLTR' => ['WHERE' => [...], 'ORDER' => [...], 'LIMIT' => [...]], 'COUNTED' => '0', 'REMOVED' => 0, 'QRYZ' => '[2]SELECT COUNT(\'prop_idx\') AS counted FROM `#estate_properties` WHERE prop_agent=\'0\' ', 'QRY' => '\r\n SELECT prop_idx, prop_name, prop_agency, prop_agent, prop_addr1, prop_addr2, prop_country, prop_state, prop_county, prop_city, prop_zip, prop_subdiv, prop_datecreated, prop_dateupdated, prop_uidcreate, prop_uidupdate, prop_status, prop_listype, prop_zoning, prop_type, prop_currency, prop_listprice, prop_origprice, prop_locale, prop_thmb, prop_appr, prop_views, prop_saves, city_name AS city, cnty_name AS county, state_name AS state, state_init AS ST, state_country AS nat\r\n FROM `#estate_properties` '..., 'colsp' => 7, 'EST_PROPSTATUS' => [0 => [...], 1 => [...], 2 => [...], 3 => [...], 4 => [...], 5 => [...]]] ) | ...\core.php:1411
@Vodhin
Copy link
Owner

Vodhin commented Dec 8, 2024

Just uploaded files that should fix issues.
download New https://github.com/Vodhin/estate/releases/download/v1.2.0/estate.zip

Please replace all files in
estate/css
estate/js/adm
estate/js (just files, not other folders)
estate/languages/English
estate/templates
estate/ui
estate/xml (not sample folder)
estate/ all main files (not .gitattributes or README.md).

Run e107 Database Checks.
View and Save Preferences in the Estate Admin section.
Clear Cache and check pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants