C5.8.1.0: An unexpected error occurred Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition()
Permalink
I can't update from 5.8.1.0 to 5.8.2.1 and always get this error:
Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition(): Failed opening required '/var/www/xxxxxx/public_html/xxxxxx/application/config/doctrine/proxies/__CG__ConcreteCoreEntitySiteType.php' (include_path='/var/www/xxxxxx/public_html/xxxxxx/updates/concrete5-8.2.1_remote_updater/concrete/vendor:.:')
I have to restore the site from backup. Any suggestions?
Thank you very much.
Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition(): Failed opening required '/var/www/xxxxxx/public_html/xxxxxx/application/config/doctrine/proxies/__CG__ConcreteCoreEntitySiteType.php' (include_path='/var/www/xxxxxx/public_html/xxxxxx/updates/concrete5-8.2.1_remote_updater/concrete/vendor:.:')
I have to restore the site from backup. Any suggestions?
Thank you very much.
Hi!
Is there any other way to do the same? I've never used ssh/cli.
Is that a bug?
Is there any other way to do the same? I've never used ssh/cli.
Is that a bug?
My host has changed PHP version from 7.1 to 5.6 and all cache problems disappeared! Why is that? The v7+ is the recommended version.
So the update went fine to the point of "Upgrade to 8.2.1 complete!". But when I go to the Home page, it throws this:
An exception occurred while executing 'SELECT t0.issID AS issID_1, t0.customClass AS customClass_2, t0.customID AS customID_3, t0.customElementAttribute AS customElementAttribute_4, t0.backgroundColor AS backgroundColor_5, t0.backgroundImageFileID AS backgroundImageFileID_6, t0.backgroundRepeat AS backgroundRepeat_7, t0.backgroundSize AS backgroundSize_8, t0.backgroundPosition AS backgroundPosition_9, t0.borderColor AS borderColor_10, t0.borderStyle AS borderStyle_11, t0.borderWidth AS borderWidth_12, t0.borderRadius AS borderRadius_13, t0.baseFontSize AS baseFontSize_14, t0.alignment AS alignment_15, t0.textColor AS textColor_16, t0.linkColor AS linkColor_17, t0.marginTop AS marginTop_18, t0.marginBottom AS marginBottom_19, t0.marginLeft AS marginLeft_20, t0.marginRight AS marginRight_21, t0.paddingTop AS paddingTop_22, t0.paddingBottom AS paddingBottom_23, t0.paddingLeft AS paddingLeft_24, t0.paddingRight AS paddingRight_25, t0.rotate AS rotate_26, t0.boxShadowHorizontal AS boxShadowHorizontal_27, t0.boxShadowVertical AS boxShadowVertical_28, t0.boxShadowBlur AS boxShadowBlur_29, t0.boxShadowSpread AS boxShadowSpread_30, t0.boxShadowColor AS boxShadowColor_31, t0.hideOnExtraSmallDevice AS hideOnExtraSmallDevice_32, t0.hideOnSmallDevice AS hideOnSmallDevice_33, t0.hideOnMediumDevice AS hideOnMediumDevice_34, t0.hideOnLargeDevice AS hideOnLargeDevice_35 FROM StyleCustomizerInlineStyleSets t0 WHERE t0.issID = ?' with params ["6"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.customElementAttribute' in 'field list'
I re-run the upgrade many times - it completes fine but always shows this error now
So the update went fine to the point of "Upgrade to 8.2.1 complete!". But when I go to the Home page, it throws this:
An exception occurred while executing 'SELECT t0.issID AS issID_1, t0.customClass AS customClass_2, t0.customID AS customID_3, t0.customElementAttribute AS customElementAttribute_4, t0.backgroundColor AS backgroundColor_5, t0.backgroundImageFileID AS backgroundImageFileID_6, t0.backgroundRepeat AS backgroundRepeat_7, t0.backgroundSize AS backgroundSize_8, t0.backgroundPosition AS backgroundPosition_9, t0.borderColor AS borderColor_10, t0.borderStyle AS borderStyle_11, t0.borderWidth AS borderWidth_12, t0.borderRadius AS borderRadius_13, t0.baseFontSize AS baseFontSize_14, t0.alignment AS alignment_15, t0.textColor AS textColor_16, t0.linkColor AS linkColor_17, t0.marginTop AS marginTop_18, t0.marginBottom AS marginBottom_19, t0.marginLeft AS marginLeft_20, t0.marginRight AS marginRight_21, t0.paddingTop AS paddingTop_22, t0.paddingBottom AS paddingBottom_23, t0.paddingLeft AS paddingLeft_24, t0.paddingRight AS paddingRight_25, t0.rotate AS rotate_26, t0.boxShadowHorizontal AS boxShadowHorizontal_27, t0.boxShadowVertical AS boxShadowVertical_28, t0.boxShadowBlur AS boxShadowBlur_29, t0.boxShadowSpread AS boxShadowSpread_30, t0.boxShadowColor AS boxShadowColor_31, t0.hideOnExtraSmallDevice AS hideOnExtraSmallDevice_32, t0.hideOnSmallDevice AS hideOnSmallDevice_33, t0.hideOnMediumDevice AS hideOnMediumDevice_34, t0.hideOnLargeDevice AS hideOnLargeDevice_35 FROM StyleCustomizerInlineStyleSets t0 WHERE t0.issID = ?' with params ["6"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.customElementAttribute' in 'field list'
I re-run the upgrade many times - it completes fine but always shows this error now
If you have a full backup made (files and database), you could try this CLI command:
https://documentation.concrete5.org/developers/appendix/cli-commands...