Our internet provider updated its servers and after that we get the following error message
ver 1.0.8.16
php 8.0
Does anyone know how this can be resolved?
Fatal error: Uncaught Error: Undefined constant "MODULE_NOTIFICATIONS_PSI_CREATE_ACCOUNT_TEXT_INFORMATION_DATA" in
/shop/includes/modules/notifications/templates/tpl_n_psi_create_account.php:87 Stack trace: #0
/shop/includes/modules/notifications/n_psi_create_account.php(28): include() #1
/shop/includes/system/versioned/1.0.8.3/notifications.php(40): n_psi_create_account->notify(Object(customer)) #2
/shop/includes/system/versioned/1.0.7.other/1.0.7.12/login.php(38): Notifications::notify('create_account', Object(customer)) #3
/shop/includes/system/versioned/1.0.8.1/hooks.php(150): Login::notify(Array) #4
/shop/create_account.php(30): hooks->cat('postRegistratio...') #5 {main} thrown in /shop/includes/modules/notifications/templates/tpl_n_psi_create_account.php on line 87
Fatal error: Uncaught Error: Undefined constant "MODULE_NOTIFICATIONS_PSI_CHECKOUT_TEXT_INFORMATION_DATA" in
/shop/includes/modules/notifications/templates/tpl_n_psi_checkout.php:236 Stack trace: #0
/shop/includes/modules/notifications/n_psi_checkout.php(58): include() #1
/shop/includes/system/versioned/1.0.8.3/notifications.php(40): n_psi_checkout->notify(Object(order)) #2
/shop/includes/system/versioned/1.0.7.8/checkout.php(184): Notifications::notify('checkout', Object(order)) #3
/shop/includes/system/versioned/1.0.8.1/hooks.php(150): Checkout::notify(Array) #4
/shop/includes/system/versioned/1.0.8.1/hooks.php(133): hooks->cat('afterStart', Array) #5
/shop/includes/classes/magic/pipeline_surface.php(16): hooks->register_pipeline('after', Array) #6
/shop/includes/system/versioned/1.0.8.1/hooks.php(160): pipeline_surface->__call('after', Array) #7
/shop/includes/system/segments/checkout/pipeline.php(14): hooks->generate('startCheckout') #8
/shop/checkout_process.php(15): require('/customers/1/c/...') #9 {main} thrown in
/shop/includes/modules/notifications/templates/tpl_n_psi_checkout.php on line 236
Fatal error: Uncaught Error: Undefined constant "MODULE_NOTIFICATIONS_PSI_UPDATE_ORDER_TEXT_INFORMATION_DATA" in
/shop/includes/modules/notifications/templates/tpl_n_psi_update_order.php:165 Stack trace: #0
/shop/includes/modules/notifications/n_psi_update_order.php(37): include() #1
/shop/includes/system/versioned/1.0.8.3/notifications.php(40): n_psi_update_order->notify(Array) #2
/shop/butikkoppsett/includes/actions/orders/update_order.php(27): Notifications::notify('update_order', Array) #3
/shop/butikkoppsett/includes/segments/process_action.php(19): require('/customers/1/c/...') #4
/shop/butikkoppsett/orders.php(16): require('/customers/1/c/...') #5 {main} thrown in /shop/includes/modules/notifications/templates/tpl_n_psi_update_order.php on line 165
Warning: Undefined variable $cInfo in /shop/butikkoppsett/includes/actions/catalog/infoboxes/delete_category.php on line 27 Warning: Attempt to read property "categories_id" on null in /shop/butikkoppsett/includes/actions/catalog/infoboxes/delete_category.php on line 27 Fatal error: Uncaught TypeError: Form::hide(): Argument #2 ($value) must be of type string, null given, called in /shop/butikkoppsett/includes/actions/catalog/infoboxes/delete_category.php on line 27 and defined in /shop/includes/system/versioned/1.0.8.1/form.php:73 Stack trace: #0 /shop/butikkoppsett/includes/actions/catalog/infoboxes/delete_category.php(27): Form->hide('categories_id', NULL) #1
/shop/butikkoppsett/includes/components/infobox.php(15): require('/...') #2
/shop/butikkoppsett/includes/actions/catalog/views/default.php(177): require('/...') #3
/shop/butikkoppsett/catalog.php(48): require('/...') #4 {main} thrown in /shop/includes/system/versioned/1.0.8.1/form.php on line 73
Warning: Undefined array key "bundle" in /shop/includes/hooks/admin/catalog/masterSlave.php on line 135 Warning: foreach() argument must be of type array|object, null given in /shop/includes/hooks/admin/catalog/masterSlave.php on line 135 Warning: Cannot modify header information - headers already sent by (output started at /shop/includes/hooks/admin/catalog/masterSlave.php:135) in /shop/includes/system/versioned/1.0.8.5/href.php on line 168
Erros message after internet provider updated its servers
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Erros message after internet provider updated its servers
Is telling you there is a missing language define/const. This is not a core module, so is from an addon or custom coded.
You should have something like this in its language file, maybe;
const MODULE_NOTIFICATIONS_PSI_CREATE_ACCOUNT_TEXT_INFORMATION_DATA = 'Something Here';
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
- burt
- Core Team
- Posts: 4550
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Erros message after internet provider updated its servers
Is telling you the array of data is malformed - this is from an addon so would be best to contact the addon maker.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
Re: Erros message after internet provider updated its servers
this is an error message from addons "bundled products" which I think I remember you created and updated for Phoenix.
Re: Erros message after internet provider updated its servers
Have tested most functions in admin and these are the error messages we get
Action Recorder - delete
-------------------------
Fatal error: Uncaught ArgumentCountError: mysqli_affected_rows() expects exactly 1 argument, 0 given in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php:45 Stack trace: #0 /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php(45): mysqli_affected_rows() #1 /
shop/admin/includes/actions/action_recorder/expire.php(24): abstract_action_recorder->expireEntries() #2 /
shop/admin/includes/segments/process_action.php(19): require('/...') #3 /
shop/admin/action_recorder.php(43): require('/...') #4 {main} thrown in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php on line 45
Database Backup Manager - backup
---------------------------------
Warning: set_time_limit(): Cannot set max execution time limit due to system policy in
/shop/admin/includes/functions/general.php on line 307 Warning: Cannot modify header information - headers already sent by (output started at /shop/admin/includes/functions/general.php:307) in
/shop/includes/system/versioned/1.0.8.5/href.php on line 168
Security Checks
---------------
Fatal error: Uncaught ValueError: curl_setopt_array(): Argument #2 ($options) must contain only valid cURL options in /shop/admin/includes/classes/security_checks.php:104 Stack trace: #0
/shop/admin/includes/classes/security_checks.php(104): curl_setopt_array(Object(CurlHandle), Array) #1 /shop/admin/includes/modules/security_check/extended/asce_admin_backup_directory_listing.php(24): security_checks->fetch_curl_handle('https://www.ant...') #2
/shop/admin/includes/classes/security_checks.php(52): asce_admin_backup_directory_listing->__construct(Object(security_checks)) #3
/shop/admin/includes/classes/security_checks.php(34): security_checks->find_modules('/...') #4
/shop/admin/security_checks.php(15): security_checks->__construct(true) #5 {main} thrown in /shop/admin/includes/classes/security_checks.php on line 104
Server Info
------------
Fatal error: Uncaught Error: Call to undefined function exec() in
/shop/admin/includes/classes/system_info.php:35 Stack trace: #0
/shop/admin/server_info.php(15): system_info->__construct() #1 {main} thrown in
/shop/admin/includes/classes/system_info.php on line 35
Categories - delete
-------------------
Warning: set_time_limit(): Cannot set max execution time limit due to system policy in
/shop/admin/includes/classes/system.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at /shop/admin/includes/classes/system.php:21) in /shop/includes/system/versioned/1.0.8.5/href.php on line 168
Warning: Undefined variable $cInfo in /shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 Warning: Attempt to read property "categories_id" on null in
/shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 Fatal error: Uncaught TypeError: Form::hide(): Argument #2
($value) must be of type string, null given, called in /shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 and defined in /customers/1/c/9/cvtlrt4nz/webroots/r1138773/shop/includes/system/versioned/1.0.8.1/form.php:73 Stack trace: #0 /shop/admin/includes/actions/catalog/infoboxes/delete_category.php(27): Form->hide('categories_id', NULL) #1 /shop/admin/includes/components/infobox.php(15): require('/...') #2 /shop/admin/includes/actions/catalog/views/default.php(177): require('/...') #3
/shop/admin/catalog.php(48): require('/customers/1/c/...') #4 {main} thrown in /shop/includes/system/versioned/1.0.8.1/form.php on line 73
Action Recorder - delete
-------------------------
Fatal error: Uncaught ArgumentCountError: mysqli_affected_rows() expects exactly 1 argument, 0 given in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php:45 Stack trace: #0 /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php(45): mysqli_affected_rows() #1 /
shop/admin/includes/actions/action_recorder/expire.php(24): abstract_action_recorder->expireEntries() #2 /
shop/admin/includes/segments/process_action.php(19): require('/...') #3 /
shop/admin/action_recorder.php(43): require('/...') #4 {main} thrown in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php on line 45
Database Backup Manager - backup
---------------------------------
Warning: set_time_limit(): Cannot set max execution time limit due to system policy in
/shop/admin/includes/functions/general.php on line 307 Warning: Cannot modify header information - headers already sent by (output started at /shop/admin/includes/functions/general.php:307) in
/shop/includes/system/versioned/1.0.8.5/href.php on line 168
Security Checks
---------------
Fatal error: Uncaught ValueError: curl_setopt_array(): Argument #2 ($options) must contain only valid cURL options in /shop/admin/includes/classes/security_checks.php:104 Stack trace: #0
/shop/admin/includes/classes/security_checks.php(104): curl_setopt_array(Object(CurlHandle), Array) #1 /shop/admin/includes/modules/security_check/extended/asce_admin_backup_directory_listing.php(24): security_checks->fetch_curl_handle('https://www.ant...') #2
/shop/admin/includes/classes/security_checks.php(52): asce_admin_backup_directory_listing->__construct(Object(security_checks)) #3
/shop/admin/includes/classes/security_checks.php(34): security_checks->find_modules('/...') #4
/shop/admin/security_checks.php(15): security_checks->__construct(true) #5 {main} thrown in /shop/admin/includes/classes/security_checks.php on line 104
Server Info
------------
Fatal error: Uncaught Error: Call to undefined function exec() in
/shop/admin/includes/classes/system_info.php:35 Stack trace: #0
/shop/admin/server_info.php(15): system_info->__construct() #1 {main} thrown in
/shop/admin/includes/classes/system_info.php on line 35
Categories - delete
-------------------
Warning: set_time_limit(): Cannot set max execution time limit due to system policy in
/shop/admin/includes/classes/system.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at /shop/admin/includes/classes/system.php:21) in /shop/includes/system/versioned/1.0.8.5/href.php on line 168
Warning: Undefined variable $cInfo in /shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 Warning: Attempt to read property "categories_id" on null in
/shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 Fatal error: Uncaught TypeError: Form::hide(): Argument #2
($value) must be of type string, null given, called in /shop/admin/includes/actions/catalog/infoboxes/delete_category.php on line 27 and defined in /customers/1/c/9/cvtlrt4nz/webroots/r1138773/shop/includes/system/versioned/1.0.8.1/form.php:73 Stack trace: #0 /shop/admin/includes/actions/catalog/infoboxes/delete_category.php(27): Form->hide('categories_id', NULL) #1 /shop/admin/includes/components/infobox.php(15): require('/...') #2 /shop/admin/includes/actions/catalog/views/default.php(177): require('/...') #3
/shop/admin/catalog.php(48): require('/customers/1/c/...') #4 {main} thrown in /shop/includes/system/versioned/1.0.8.1/form.php on line 73
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Erros message after internet provider updated its servers
I thought that looked familiar: https://github.com/CE-PhoenixCart/Phoen ... d115a1550eranders wrote: ↑Thu Sep 28, 2023 1:09 pm Action Recorder - delete
-------------------------
Fatal error: Uncaught ArgumentCountError: mysqli_affected_rows() expects exactly 1 argument, 0 given in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php:45 Stack trace: #0 /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php(45): mysqli_affected_rows() #1 /
shop/admin/includes/actions/action_recorder/expire.php(24): abstract_action_recorder->expireEntries() #2 /
shop/admin/includes/segments/process_action.php(19): require('/...') #3 /
shop/admin/action_recorder.php(43): require('/...') #4 {main} thrown in /
shop/includes/system/versioned/1.0.8.6/abstract_action_recorder.php on line 45
The set_time_limit and exec errors are specific to your host and require a host-specific response. E.g. shim in an exec function (doesn't need to do anything) and override the System class to not call set_time_limit. I.e. comment out https://github.com/CE-PhoenixCart/Phoen ... em.php#L21
I'm not sure about the $cInfo issue. I looked at the code and it seems like it should work. If I get a chance, I'll see if I can reproduce it.
Re: Erros message after internet provider updated its servers
https://github.com/CE-PhoenixCart/Phoen ... d115a1550e
it fixed "Action recorder" and "Categories - delete" error message
Thank you
it fixed "Action recorder" and "Categories - delete" error message
Thank you