SmartLink Error - "Zend\Code\Generator\ValueGenerator" not found

Permalink Browser Info Environment
Creating a block with "Smart Links" always ends in the following error:

Error
Class "Zend\Code\Generator\ValueGenerator" not found

1 Attachment

Type: Ticket
Status: Resolved
orderfiberlink
View Replies:
orderfiberlink replied on at Permalink Reply
orderfiberlink
Update - The error occurs on every FieldType where "use Zend\Code\Generator\ValueGenerator;" is embedded.

The Vendor directory has changed from "zendframework" to "laminas".

So I think the embedded namespaces of the "ValueGenerator" should be changed from
"use Zend\Code\Generator\ValueGenerator;"
to
"use Laminas\Code\Generator\ValueGenerator;"
on every FieldType which includes that.
ramonleenders replied on at Permalink Reply
ramonleenders
Hi there,

I am on a clean install of version 9.2.0 and don't have any issues. Are there any Add-Ons you have installed, except for Block Designer which may be causing these issues? Did you try a fresh install yourself as well?

Kind regards
Ramon

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.0
Version Installed - 9.2.0
Database Version - 20230308163514

# Environment
production

# Database Information
Version: 8.0.29
SQL Mode:

# Concrete Packages
Block Designer (4.1.4), Block Designer Pro (4.1.3), Block Developer (1.4.6)

# PHP Version
8.1.8

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.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.