Undefined Property hamburgerIconAnimation

Permalink Browser Info Environment
I've turned on Enable hamburger support and selected modern style and when viewing the site on a mobile device I get the exception,

Undefined property: Concrete\Core\Block\View\BlockView::$hamburgerIconAnimation
Whoops\Exception\ErrorException
/home/darleyda/public_html/packages/jb_megamenu/blocks/jb_megamenu/view.php452

In fact I get this on desktop also in Chrome when not in edit mode.

The code being shown is...

elseif($enableHamburgerSupport && $hamburgerStyle=="modern" && !$p->canWrite()){
    $iconHtml = null;
    if ( $this->hamburgerIconAnimation=='collapse') {
        $hamanimation = "collapse";
    }elseif ( $this->hamburgerIconAnimation=='spin') {

If I change modern style to classic then all is OK again.

Type: Pre-Sale
Status: Resolved
kenmoore
View Replies:
kenmoore replied on at Permalink Reply
kenmoore
Please ignore this. I've resubmitted it as a ticket.
jb1 replied on at Permalink Reply
jb1
This is a ticket as well, but as it's a duplicate I'll close this one and answer on the other ticket. :-)

concrete5 Environment Information

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

# Hostname
centos7.whm-secure.com

# Environment
production

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

# Concrete Packages
Mega Menu (2.0.1)

# Concrete Overrides
None

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

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
8.0.28

# PHP Extensions
bz2, calendar, clos_ssa, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imap, intl, json, libxml, litespeed, mbstring, mcrypt, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, xml, xsl, zip, zlib

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 6000
max_multipart_body_parts - -1
memory_limit - 512M
post_max_size - 8M
upload_max_filesize - 40M
zend.exception_string_param_max_len - 15
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0

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.