An error occurs during installation.

Permalink Browser Info Environment
Hello
Please support me.
An error occurs during installation.
It is installed in the development environment to confirm operation.

/public_html/packages/xw_replica_pro/vendor/rp-module/Module.php
if ($make !== null) {
return $app->make($make);
}

return $app;
}

private static function throwInvalidClassRuntimeException($relatedMethod, $targetClass, $requiredClass)
{
throw new \RuntimeException(t('%s:%s - `%s` should be an instance of `%s`', static::class, $relatedMethod, (string) $targetClass, $requiredClass));
}

/**
* @return PackageController
*/
private static function controller()
{
$pkgHandle = static::pkgHandle();

return self::$resolvedPackController[$pkgHandle] ? self::$resolvedPackController[$pkgHandle] :
self::$resolvedPackController[$pkgHandle] = self::app(PackageService::class)->getClass($pkgHandle);
}
}

Arguments
"Trying to access array offset on value of type null"

Type: Ticket
Status: In Progress
EisakuAoki
View Replies:
EisakuAoki replied on at Permalink Reply
EisakuAoki
When set to PHP7.4.33

/public_html/packages/xw_replica_pro/src/Xanweb/ReplicaPro/Asset/Provider.php
['javascript', 'core/app'],
['javascript', 'core/sitemap'],
['css', 'fancytree'],
['css', 'selectize'],
['css', 'core/sitemap'],
['javascript-localized', 'xan/utility/global'],
['javascript', 'xan/utility'],
['javascript', 'xw/replica-pro/sitemap'],
]
]
];
}

public function register()
{
parent::register();
if (!(new PageViewHelper())->isDevMode()) {
$al = AssetList::getInstance();
$assetGrp = $al->getAssetGroup('core/style-customizer');
$assetGrp->add(new AssetPointer('javascript-localized', 'xw/replica-pro/style-customizer/custom-fonts'));
}
}
}

Arguments
"Call to a member function add() on null"
Xanweb replied on at Permalink Reply
Xanweb
Hi,

Please make sure that you are using Replica Pro v2,
From the provided code / error, we can tell that you are using Version 1 of Replica Pro, which is not compatible with ConcreteCMS v9.

Kind Regards,
Xanweb Support Team
EisakuAoki replied on at Permalink Reply 1 Attachment
EisakuAoki
thank you. solved.
I downloaded the theme on the operational site V8.2.12, so the old version was downloaded.
After creating a migration site (V9) project and connecting the theme, I was able to install it.

There is no theme activation button, is this activated? (See materials)
Xanweb replied on at Permalink Reply
Xanweb
Yes, it is active; the theme gets automatically activated during the installation.
EisakuAoki replied on at Permalink Reply
EisakuAoki
thank you.
Now, adapt the theme.
I'm looking forward to it.

concrete5 Environment Information

Concrete CMS
Version
"9.2.4"
Installed Version
"9.2.4"
Database Version
"20231207100748"
PHP
Version
"8.1.22"
Extensions
array:60 [▶]
Concrete Configuration

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Hide Post Content

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

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.