We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the problem
When saving a shortcut from the Search Log. a Deprecation error occurs
How To Reproduce Steps to reproduce the behavior: Run a search Go to the Search Log, Click the Save Shortcut button
Error Messages
Deprecated trim(): Passing null to parameter #1 ($string) of type string is deprecated ee/ExpressionEngine/Addons/pro_search/models/pro_search_shortcut_model.php, line 184 Severity: E_DEPRECATED Exception Caught SQLSTATE[HY000]: General error: 1364 Field 'sort_order' doesn't have a default value: INSERT INTO `exp_pro_search_shortcuts` (`shortcut_id`, `site_id`, `group_id`, `shortcut_name`, `shortcut_label`, `parameters`) VALUES (NULL, '1', '2', 'air-filters', 'Air Filters', '{\"result_page\":\"ajax\\/product-search-results\",\"search:class\":\"KA-PROD|KA-PURCH|KC-PROD|KC-PURCH|KS-PROD|KS-PURCH\"}') ee/legacy/database/drivers/mysqli/mysqli_connection.php:114 Stack Trace: Please include when reporting this error #0 ee/legacy/database/drivers/mysqli/mysqli_driver.php(112): CI_DB_mysqli_connection->query('INSERT INTO `ex...') #1 ee/legacy/database/DB_driver.php(260): CI_DB_mysqli_driver->_execute('INSERT INTO `ex...') #2 ee/legacy/database/DB_driver.php(175): CI_DB_driver->simple_query('INSERT INTO `ex...') #3 ee/legacy/database/DB_active_rec.php(1297): CI_DB_driver->query('INSERT INTO `ex...') #4 ee/ExpressionEngine/Addons/pro_search/model.pro_search.php(214): CI_DB_active_record->insert('exp_pro_search_...', Array) #5 ee/ExpressionEngine/Addons/pro_search/mcp.pro_search.php(2030): Pro_search_model->insert(Array) #6 [internal function]: Pro_search_mcp->save_shortcut() #7 ee/ExpressionEngine/Controller/Addons/Addons.php(1590): call_user_func_array(Array, Array) #8 ee/ExpressionEngine/Controller/Addons/Addons.php(866): ExpressionEngine\Controller\Addons\Addons->getModuleSettings('pro_search', 'save_shortcut', Array) #9 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings('pro_search', 'save_shortcut') #10 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array) #11 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array) #12 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request)) #13 admin.php(153): require_once('...') #13 admin.php(153): require_once('...')
Screenshots / Videos / Template Code
Environment Details:
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered:
Resolved #3127 where PHP error was shown when creating shortcut from …
4429f66
…Pro Search log
df8760e
Successfully merging a pull request may close this issue.
Description of the problem
When saving a shortcut from the Search Log. a Deprecation error occurs
How To Reproduce
Steps to reproduce the behavior:
Run a search
Go to the Search Log, Click the Save Shortcut button
Error Messages
Screenshots / Videos / Template Code
Environment Details:
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: