Install and Upgrade

Install and Upgrade 1.1.7 Patch Level 1

No permission to download
Admin panel keeps telling me there are manual rebuilds to continue, when I try, I get this error:

Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [description] in src/XF/Mvc/Entity/Entity.php at line 740

    XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 618
    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
    XF\Mvc\Entity\Entity->bulkSet() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php at line 244
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->productFromPayload() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php at line 212
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->getProducts() in src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php at line 60
    ThemeHouse\InstallAndUpgrade\Job\GetProducts->run() in src/XF/Job/Manager.php at line 253
    XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
    XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 79
    XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 139
    XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in admin.php at line 13
 
Hmmm, it works just fine now after updating the the latest release. That's weird!
What exactly did you update? I'm currently on the latest version of this addon and XF2, and am experiencing the same problem when trying to update addons that were installed using the addon. It doesn't ask for my decryption key and then returns a 403 error because it has (presumably) no way to authenticate.
 
Apologies, we yet have to look into these issues. If worst comes to worst, you can uninstall and reinstall I&U and reassociate all add-ons. That'll remove all leftover data from the database, so the errors should be gone.
 
Can someone help me with this error:


Parse error: syntax error, unexpected '$config' (T_VARIABLE) in /home3/ralozada/public_html/rogue9.us/src/config.php on line 1

Parse error
: syntax error, unexpected '$config' (T_VARIABLE) in /home3/ralozada/public_html/rogue9.us/src/config.php on line 1

this happened after I uploaded the Config.php file back, Any help would be appreciated.
 
Can someone help me with this error:


Parse error: syntax error, unexpected '$config' (T_VARIABLE) in /home3/ralozada/public_html/rogue9.us/src/config.php on line 1

Parse error
: syntax error, unexpected '$config' (T_VARIABLE) in /home3/ralozada/public_html/rogue9.us/src/config.php on line 1

this happened after I uploaded the Config.php file back, Any help would be appreciated.
Looks like you forgot the starting <?php tag. I'm guessing your config file currently looks like this:

PHP:
$config['enableAddOnArchiveInstaller'] = true;
<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = 3306;

Change it to this:
PHP:
<?php
$config['enableAddOnArchiveInstaller'] = true;
$config['db']['host'] = 'localhost';
$config['db']['port'] = 3306;
 
<?php $config['enableAddOnArchiveInstaller'] = true; $config['db']['host'] = 'localhost'; $config['db']['port'] = 3306;

<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = 3306;

$config['enableAddOnArchiveInstaller'] = true;

it actually has the php, it looks kinda like so, let me get a snap shot of it.
 
<?php

$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = '****';
$config['db']['password'] = '*';
$config['db']['dbname'] = '*';
$config['fullUnicode'] = true;
$config['enableAddOnArchiveInstaller'] = true;
 
Admin panel keeps telling me there are manual rebuilds to continue, when I try, I get this error:

Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [description] in src/XF/Mvc/Entity/Entity.php at line 740

    XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 618
    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
    XF\Mvc\Entity\Entity->bulkSet() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php at line 244
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->productFromPayload() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php at line 212
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->getProducts() in src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php at line 60
    ThemeHouse\InstallAndUpgrade\Job\GetProducts->run() in src/XF/Job/Manager.php at line 253
    XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 195
    XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 79
    XF\Job\Manager->runQueue() in src/XF/Admin/Controller/Tools.php at line 139
    XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in admin.php at line 13

Having the same issue here!
 
Code:
Server error log
InvalidArgumentException: Job ThemeHouse\InstallAndUpgrade:GetProducts: Attempted to convert NULL to string/binary [description] src/XF/Mvc/Entity/Entity.php:740
Generated by: Unknown account Apr 10, 2019 at 3:55 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'description', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('description', NULL, Array)
#2 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php(244): XF\Mvc\Entity\Entity->bulkSet(Array)
#3 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php(212): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->productFromPayload(Array, 'style', 2)
#4 src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php(60): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->getProducts()
#5 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\GetProducts->run(G)
#6 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#7 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#8 job.php(42): XF\Job\Manager->runQueue(false, 8)
#9 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:130
#0 src/XF/Mvc/Entity/Entity.php(736): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(618): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'description', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(720): XF\Mvc\Entity\Entity->set('description', NULL, Array)
#3 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php(244): XF\Mvc\Entity\Entity->bulkSet(Array)
#4 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/ThemeHouse.php(212): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->productFromPayload(Array, 'style', 2)
#5 src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php(60): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->getProducts()
#6 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\GetProducts->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://-------.com/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
After installing this addon this error appeared:

Code:
Server error log
InvalidArgumentException: Job ThemeHouse\InstallAndUpgrade:ImportTHStyles: Unknown relation THInstallUpgradeData src/XF/Mvc/Entity/Entity.php:397
Generated by: Unknown account Apr 10, 2019 at 8:37 AM
Stack trace
#0 src/addons/ThemeHouse/InstallAndUpgrade/Job/ImportTHStyles.php(32): XF\Mvc\Entity\Entity->getRelationOrDefault('THInstallUpgrad...')
#1 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\ImportTHStyles->run(G)
#2 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#3 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#4 job.php(42): XF\Job\Manager->runQueue(false, 8)
#5 {main}
Request state
array(4) {
  ["url"] => string(15) "/job.php"
  ["referrer"] => string(93) "https://------.com/admin.php?add-ons/install-from-archive-complete&batch_id=13"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

running xenForo v2.1.1
 
@ThemeHouse i got this error once every day..

Code:
Server error log
XF\Db\DuplicateKeyException: Job ThemeHouse\InstallAndUpgrade:GetProducts: MySQL query error [1062]: Duplicate entry '3-364' for key 'PRIMARY' src/XF/Db/AbstractStatement.php:217
Generated by: Unknown account Apr 17, 2019 at 16:35

Stack trace
INSERT  INTO `xf_th_installupgrade_product` (`profile_id`, `product_id`, `product_type`, `title`, `description`, `latest_version`, `extra`, `content_id`, `current_version`, `update_available`, `installed`, `json_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_th_installup...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/DragonByte.php(128): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php(60): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->getProducts()
#8 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\GetProducts->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(53) "https://www.xentutorials.com"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
@ThemeHouse i got this error once every day..

Code:
Server error log
XF\Db\DuplicateKeyException: Job ThemeHouse\InstallAndUpgrade:GetProducts: MySQL query error [1062]: Duplicate entry '3-364' for key 'PRIMARY' src/XF/Db/AbstractStatement.php:217
Generated by: Unknown account Apr 17, 2019 at 16:35

Stack trace
INSERT  INTO `xf_th_installupgrade_product` (`profile_id`, `product_id`, `product_type`, `title`, `description`, `latest_version`, `extra`, `content_id`, `current_version`, `update_available`, `installed`, `json_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_th_installup...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/DragonByte.php(128): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php(60): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->getProducts()
#8 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\GetProducts->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(53) "https://www.xentutorials.com"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
That looks like it's not able to detect that addons are installed. Have you tried reinstalling any DBTech products inside I&U?
 
@ThemeHouse i got this error once every day..

Code:
Server error log
XF\Db\DuplicateKeyException: Job ThemeHouse\InstallAndUpgrade:GetProducts: MySQL query error [1062]: Duplicate entry '3-364' for key 'PRIMARY' src/XF/Db/AbstractStatement.php:217
Generated by: Unknown account Apr 17, 2019 at 16:35

Stack trace
INSERT  INTO `xf_th_installupgrade_product` (`profile_id`, `product_id`, `product_type`, `title`, `description`, `latest_version`, `extra`, `content_id`, `current_version`, `update_available`, `installed`, `json_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
------------
#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1062, '23000')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1062, '23000')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(218): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1452): XF\Db\AbstractAdapter->insert('xf_th_installup...', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1184): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/DragonByte.php(128): XF\Mvc\Entity\Entity->save()
#7 src/addons/ThemeHouse/InstallAndUpgrade/Job/GetProducts.php(60): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->getProducts()
#8 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\GetProducts->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}

Request state
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(53) "https://www.xentutorials.com"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
@Xon @ThemeHouse its back again.. :unsure:
 
Top Bottom