Comments (4)
As a short term workaround, you can use phpMyAdmin to directly access your aju65_sexy_polls table in the database. Search for the related poll and set "checked_out" = "0".
from joomla_plugin_sexypolling_reloaded.
Thank you for reporting this special issue.
While trying to reproduce, I was not able to to check out a poll directly. However, after setting "checked_out" = "1" for a poll directly in the database, I could reproduce the mentioned error in System / Maintenance / Global Check-in.
Stack trace:
An error has occurred.
1364 Field 'checked_out' doesn't have a default value
Call stack
Function Location
1 () JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:141
2 Joomla\Database\Mysqli\MysqliStatement->__construct() JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:1048
3 Joomla\Database\Mysqli\MysqliDriver->prepareStatement() JROOT/libraries/vendor/joomla/database/src/DatabaseDriver.php:1900
4 Joomla\Database\DatabaseDriver->setQuery() JROOT/administrator/components/com_checkin/src/Model/CheckinModel.php:127
5 Joomla\Component\Checkin\Administrator\Model\CheckinModel->checkin() JROOT/administrator/components/com_checkin/src/Controller/DisplayController.php:69
6 Joomla\Component\Checkin\Administrator\Controller\DisplayController->checkin() JROOT/libraries/src/MVC/Controller/BaseController.php:672
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
8 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:355
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:294
12 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
13 require_once() JROOT/administrator/index.php:32
from joomla_plugin_sexypolling_reloaded.
Since Joomla 4, the database behavior is more strict and it is not allowed to write empty values to the database if no default value is defined.
In this case, the error cannot be fixed in the PHP code of the plugin, because the related code is part of the general Joomla system.
The only way to solve this is to update the database settings for all Joomla 4 installations. I have to think about this.
from joomla_plugin_sexypolling_reloaded.
Just recognized that this is probably the same issue like #27, which is also still open.
from joomla_plugin_sexypolling_reloaded.
Related Issues (20)
- No changelog link shown for plugin Button - Sexypolling Polls
- Ínvalid token (Joomla 5.1.0) HOT 9
- Feature Request: Permissions for Answers and Votes, and Export/Import Functionality HOT 14
- Bug report: All location information shows as "Unknown" in Votes HOT 6
- Confirmation of technical requirements HOT 4
- End date of poll is not correctly handled if option "Show Results During Poll" is set to "no" HOT 1
- Inserting a poll into an article using shortcode [sexypolling id="id"] HOT 27
- Setting for poll width 100% is not used; instead fixed value for poll width is used
- Creating a new poll based on the settings of an existing poll HOT 2
- Add a button to the article editor in order to embed polls into articles HOT 2
- Issue with "Show Results During Poll" to "no” HOT 4
- Poll animation is shown although setting "Show Results During Poll" is set to "No"
- Date defaults to 2024-01-11 if an empty start date or end date is saved in poll settings
- Warning message about start time of vote shows wrong time delta until vote will start HOT 11
- No warning message is shown if user votes again and vote is rejected due to voting period setting HOT 1
- No animation of voted poll although setting "Autoanimate For Voted Polls" is set to "yes" HOT 1
- Plugin name not translated if plugin is deactivated or after new installation
- PHP error if opening the statistics for a poll: "An error has occurred. 0 Class "JHtmlSidebar" not found"
- SQL error when adding count to field Insert votes in Answers HOT 3
- PHP error in template view: com_sexypolling/helpers/footer.php: No such file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joomla_plugin_sexypolling_reloaded.