Reading Documentation on Concrete Site 9.1.3 led to an exception error

Permalink Browser Info Environment
In the dashboard I went to Atomic Template documentation and there Social Networking and then I got Exception Error:


/mnt/web006/d0/33/512337533/htdocs/cfb/concrete/blocks/survey/controller.php
}
}

public function requiresRegistration()
{
return $this->requiresRegistration;
}

public function hasVoted()
{
$u = $this->app->make(User::class);
if ($u->isRegistered()) {
$db = Database::connection();
$v = [$u->getUserID(), $this->bID, $this->cID];
$q = 'SELECT count(resultID) AS total FROM btSurveyResults WHERE uID = ? AND bID = ? AND cID = ?';
$result = $db->getOne($q, $v);
if ($result > 0) {
return true;
}
} elseif ($_COOKIE['ccmPoll' . $this->bID . '-' . $this->cID] == 'voted') {
return true;
}

return false;
}

public function duplicate($newBID)
{
$this->setPollOptions();
/** @var \Concrete\Core\Database\Connection\Connection $db */
$db = $this->app->make('database/connection');

/** @var Option[] $opt */
foreach ($this->options as $opt) {
$db->insert('btSurveyOptions', ['bID' => $newBID, 'optionName' => $opt->getOptionName(), 'displayOrder' => $opt->getOptionDisplayOrder()]);
$newOptionID = $db->lastInsertId();
$results = $db->executeQuery('SELECT uID, ipAddress, timestamp FROM btSurveyResults WHERE optionID = :optID', ['optID' => $newOptionID])->fetchAll();
if (!empty($results)) {
foreach ($results as $row) {
$db->insert('btSurveyResults', ['optionID' => $newOptionID, 'uID' => $row['uID'], 'ipAddress' => $row['ipAddress'], 'timestamp' => $row['timestamp']]);
Arguments
"Undefined array key "ccmPoll295-264""
Environment & details:
Concrete CMS
Version
"9.1.3"
Installed Version
"9.1.3"
Database Version
"20220908074900"
PHP
Version
"8.1.14"
Extensions
array:51 [▶]
Concrete Configuration
concrete
array:56 [▶]
app
array:20 [▶]
GET Data
cID
"264"
POST Data empty
Files empty
Cookies
CONCRETE
"**************************"
CONCRETE_LOGIN
"*"
ConcreteSitemapTreeID
"*"
Session
_sf2_attributes
array:16 [▶]
_symfony_flashes
[]
_sf2_meta
array:3 [▶]
Server/Request Data
UNIQUE_ID
"***************************"
RZ_n
"*********"
RZ_a
"****************************************************************************************************"
RZ_path
"**********************"
SCRIPT_URL
"*************************************************************"
SCRIPT_URI
"*******************************************************************************************"
HTTPS
"**"
DOCUMENT_ROOT
"****************************************************"
RZ_php
"**"
PHPRC
"****************************************************"
HTTP_HOST
"**********************"
HTTP_SEC_CH_UA
"******************************************************************"
HTTP_SEC_CH_UA_MOBILE
"**"
HTTP_SEC_CH_UA_PLATFORM
"*********"
HTTP_UPGRADE_INSECURE_REQUESTS
"*"
HTTP_DNT
"*"
HTTP_USER_AGENT
"*********************************************************************************************************************************"
HTTP_ACCEPT
"****************************************************************************************************************************"
HTTP_SEC_FETCH_SITE
"***********"
HTTP_SEC_FETCH_MODE
"********"
HTTP_SEC_FETCH_DEST
"******"
HTTP_REFERER
"*********************************************************************************"
HTTP_ACCEPT_ENCODING
"*****************"
HTTP_ACCEPT_LANGUAGE
"***********************************************"
HTTP_COOKIE
"******************************************************************************"
HTTP_CONNECTION
"*****"
PATH
"*************************************************"
SERVER_SOFTWARE
"********************"
SERVER_NAME
"**********************"
SERVER_PORT
"***"
REMOTE_ADDR
"*************"
SERVER_ADMIN
"********************"
SCRIPT_FILENAME
"******************************************************************"
REMOTE_PORT
"*****"
GATEWAY_INTERFACE
"*******"
SERVER_PROTOCOL
"********"
REQUEST_METHOD
"***"
QUERY_STRING
"*******"
REQUEST_URI
"*********************************************************************"
SCRIPT_NAME
"**************"
PATH_INFO
"***********************************************"
PATH_TRANSLATED
"***************************************************************************************************"
PHP_SELF
"*************************************************************"
REQUEST_TIME_FLOAT
"***"
REQUEST_TIME
"***"
argv
"***"
argc
"***"
Environment Variables
UNIQUE_ID
"***************************"
RZ_n
"*********"
RZ_a
"****************************************************************************************************"
RZ_path
"**********************"
SCRIPT_URL
"*************************************************************"
SCRIPT_URI
"*******************************************************************************************"
HTTPS
"**"
DOCUMENT_ROOT
"****************************************************"
RZ_php
"**"
PHPRC
"****************************************************"
HTTP_HOST
"**********************"
HTTP_SEC_CH_UA
"******************************************************************"
HTTP_SEC_CH_UA_MOBILE
"**"
HTTP_SEC_CH_UA_PLATFORM
"*********"
HTTP_UPGRADE_INSECURE_REQUESTS
"*"
HTTP_DNT
"*"
HTTP_USER_AGENT
"*********************************************************************************************************************************"
HTTP_ACCEPT
"****************************************************************************************************************************"
HTTP_SEC_FETCH_SITE
"***********"
HTTP_SEC_FETCH_MODE
"********"
HTTP_SEC_FETCH_DEST
"******"
HTTP_REFERER
"*********************************************************************************"
HTTP_ACCEPT_ENCODING
"*****************"
HTTP_ACCEPT_LANGUAGE
"***********************************************"
HTTP_COOKIE
"******************************************************************************"
HTTP_CONNECTION
"*****"
PATH
"*************************************************"
SERVER_SOFTWARE
"********************"
SERVER_NAME
"**********************"
SERVER_PORT
"***"
REMOTE_ADDR
"*************"
SERVER_ADMIN
"********************"
SCRIPT_FILENAME
"******************************************************************"
REMOTE_PORT
"*****"
GATEWAY_INTERFACE
"*******"
SERVER_PROTOCOL
"********"
REQUEST_METHOD
"***"
QUERY_STRING
"*******"
REQUEST_URI
"*********************************************************************"
SCRIPT_NAME
"**************"
PATH_INFO
"***********************************************"
PATH_TRANSLATED
"***************************************************************************************************"
Registered Handlers
0. Concrete\Core\Error\Handler\ErrorHandler
1. Concrete\Core\Error\Handler\JsonErrorHandler

1 Attachment

Type: Pre-Sale
Status: Resolved
img
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

Does this mean it needs to be in the "Atomic" support or... This is for Block Developer. Not sure what is wrong now with this Add-On - can you give more details maybe?

Kind regards
Ramon
img replied on at Permalink Reply
img
Yes, you are right. This needs to go to the Atomic Support.
I will post it there.

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
catogami

# Environment
production

# Database Information
Version: 5.7.38-log
SQL Mode:

# Concrete Packages
None

# Concrete Overrides
None

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.54 (Unix)

# Server API
cgi-fcgi

# PHP Version
8.1.14

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, intl, json, libxml, mailparse, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sodium, SPL, sqlite3, standard, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 240
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 4000
memory_limit - 512M
post_max_size - 128M
upload_max_filesize - 128M
zend.exception_string_param_max_len - 0
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096

Browser User-Agent String

newest Edge an windows 11

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.