Code:
[10-Jan-2024 13:58:37 America/Vancouver] Request URI: /1.5.8/MY_ADMIN/keepalive.php?_=1704923553513, IP address: MY_IP, Language id 1
#1 trigger_error() called at [/WEBROOT/1.5.8/includes/classes/db/mysql/query_factory.php:667]
#2 queryFactory->show_error() called at [/WEBROOT/1.5.8/includes/classes/db/mysql/query_factory.php:634]
#3 queryFactory->set_error() called at [/WEBROOT/1.5.8/includes/classes/db/mysql/query_factory.php:275]
#4 queryFactory->Execute() called at [/WEBROOT/1.5.8/MY_ADMIN/includes/init_includes/init_price_list_admin.php:44]
#5 require_once(/WEBROOT/1.5.8/MY_ADMIN/includes/init_includes/init_price_list_admin.php) called at [/WEBROOT/1.5.8/includes/autoload_func.php:40]
#6 require(/WEBROOT/1.5.8/includes/autoload_func.php) called at [/WEBROOT/1.5.8/MY_ADMIN/includes/application_top.php:42]
#7 require(/WEBROOT/1.5.8/MY_ADMIN/includes/application_top.php) called at [/WEBROOT/1.5.8/MY_ADMIN/keepalive.php:9]
--> PHP Fatal error: 1062:Duplicate entry 'PL_DEFAULT_PROFILE' for key 'unq_config_key_zen' :: INSERT INTO configuration
(configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added)
VALUES
('Installed Version', 'PL_INSTALLED_VERSION', 'v3.0.0', 'The plugin version currently installed.', 37 , 10, NULL , 'trim(', now()),
('Default Profile', 'PL_DEFAULT_PROFILE', '1', 'Choose the default profile to use.', 37 , 10, NULL , 'zen_cfg_select_option(array(\'1\', \'2\', \'3\' ),', now()),
('Show Profile Links?', 'PL_SHOW_PROFILES', 'true', 'Choose <em>true</em> to display links to the currently-enabled profiles on the <em>pricelist</em> page.', 37, 20, NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),', now()),
('Show Information Sidebox Link?', 'PL_SHOW_INFO_LINK', 'true', 'Choose whether (<em>true</em>) or not (<em>false</em>) a "Price List" link should be shown in the Information sidebox.', 37, 30, NULL , 'zen_cfg_select_option(array(\'true\', \'false\'),', now()) ==> (as called by) /WEBROOT/1.5.8/MY_ADMIN/includes/init_includes/init_price_list_admin.php on line 44 <== in /WEBROOT/1.5.8/includes/classes/db/mysql/query_factory.php on line 667.
This plugin is not important enough to the site owner for me to be able to spend much time debugging this, but I should be able to keep up the buggy version for a day or two if you want more information or have a suggested fix.
Bookmarks