Unable to get passed error: Undefined variable $generate - Concrete v9.1.3 - PHP 8.1.16

Permalink Browser Info Environment
Won't install properly. I receive the error Undefined variable $generate.

It downloads, I click 'Install', then the page comes up asking whether or not to create the styling. Does not matter if I check or leave un-checked it immediately has an error.

I've attached a screenshot of the error.

Is this something I can fix? Thank you.

1 Attachment

Type: Ticket
Status: Resolved
Way2Sharp4U
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello,

I'm afraid this package is not ready for PHP 8 just yet. I'm still working on it.

Are you in a hurry, and can you switch to PHP 7 in the meantime?
Way2Sharp4U replied on at Permalink Reply
Way2Sharp4U
This is a new site, still developing.

So, no need to switch to PHP7. I'm trying to knock out any PHP8 issues up front.

I will wait for your fix. Thank you. :-)
mnakalay replied on at Permalink Reply
mnakalay
Great, thank you. I'll keep you posted.
mnakalay replied on at Permalink Reply
mnakalay
Hello

I just uploaded version 5.0 for PHP 8. It should work just fine now.

Please let me know if you experience any other issues.
strandbein replied on at Permalink Reply 1 Attachment
strandbein
Hello,
also for me the error, no change.
Regards
Jens
mnakalay replied on at Permalink Reply
mnakalay
Sorry for that. I wonder how I didn't get that error when I tested the installation... It's weird.

Anyway, I fixed it. I had to remove the possibility to generate the stylesheet during installation, so you'll have to follow the instructions to generate it manually. It's just a button to push, no worries.

Please update to 5.0.1
Way2Sharp4U replied on at Permalink Reply
Way2Sharp4U
Installed and no errors. Thank you. Now I have to learn how to use it.
mnakalay replied on at Permalink Reply
mnakalay
strandbein replied on at Permalink Reply
strandbein
Ok, uninstalled and reinstalled, seems to run. Tomorrow we will see more. Thanks so far.
mnakalay replied on at Permalink Reply
mnakalay
Thank you, fingers crossed :)

concrete5 Environment Information

# Concrete Version
Core Version - 9.1.3
Version Installed - 9.1.3
Database Version - 20220908074900

# Hostname
az1-ts104.a2hosting.com

# Environment
production

# Database Information
Version: 10.5.17-MariaDB-cll-lve
SQL Mode: ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

# Concrete Packages
Active Cookie Consent (2.1), Editor Comment (9.0.0), Grand Gallery (2.2.1), Image Link With Content (1.7), Image with Focuspoint (2.1), Is Page Public? (1.0), Light Slider (2.0), Macareux Google Map Attribute (1.1), Magic Tabs (9.0.2), Omni Gallery (9.2.7), Script Output (1.2.1), Sermon Series (9.1.0), Sub Atomik Theme (1.1.2), Theme Styling Tool (1.2.3), Timeline (2.0), Touch Gallery 4 (4.0.2), Universal Content Puller (9.3.6)

# Concrete Overrides
None

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
8.1.16

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, hash, i360, iconv, igbinary, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, memcached, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, redis, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 300
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 10000
max_multipart_body_parts - -1
memory_limit - 768M
post_max_size - 128M
upload_max_filesize - 128M
zend.exception_string_param_max_len - 15
ldap.max_links - Unlimited
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 150
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
redis.pconnect.connection_limit - 0
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

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