Exception in PHP Script
/p_activitats/assets/php/_core/profile.php
PHP Version: 5.3.10-1ubuntu3.26;  Zend Engine Version: 2.3.0;  Qcodo Version: 0.3.43 (Qcodo Beta 3)
Application: Apache/2.2.22 (Ubuntu);  Server Name: www.palmaeduca.cat
HTTP User Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Unable to cast boolean value to array
Exception Type:   QInvalidCastException

Source File:   /var/www/html/p_activitats/assets/php/_core/profile.php     Line:   8

Line 3:    	$intDatabaseIndex = $_POST['intDatabaseIndex'];
Line 4:    	$strProfileData = $_POST['strProfileData'];
Line 5:    	$strReferrer = $_POST['strReferrer'];
Line 6:    
Line 7:    	$objProfileArray = unserialize(base64_decode($strProfileData));
Line 8:    	$objProfileArray = QType::Cast($objProfileArray, QType::ArrayType);
Line 9:    	if ((count($objProfileArray) % 2) != 0)
Line 10:    		throw new Exception('Database Profiling data appears to have been corrupted.');
Line 11:    ?>
Line 12:    <html>
Line 13:    	<head>

Call Stack:

#0 /var/www/html/p_activitats/includes/qcodo/_core/framework/QType.class.php(205): QType::CastValueTo(false, 'array')
#1 /var/www/html/p_activitats/assets/php/_core/profile.php(8): QType::Cast(false, 'array')
#2 {main}

Variable Dump:   Show/Hide



Exception Report Generated:  Wednesday, April 30 2025, 10:53:51 AM