Undefined property: Concrete\Core\Block\View\BlockView::$hamburgerIconAnimation

Permalink Browser Info Environment
'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: Ticket
Status: In Progress
kenmoore
View Replies:
jb1 replied on at Permalink Reply
jb1
Thank you for making me aware of this issue. I've tested it and been able to re-create the environment and settings which lead to this error. I've now fixed the bug and uploaded the new version of the Mega Menu to the marketplace (version 2.0.2). The only file that has changed is the view.php file inside the block (in case you had created any overrides). Otherwise, you can just overwrite the package files on your server and it will work fine now.

Hope this helps, and please let me know if you have any other queries.

JB
kenmoore replied on at Permalink Reply
kenmoore
How do I get the updated version? Using Update Addon within the concrete dashboard says that no updates are available.
jb1 replied on at Permalink Reply
jb1
I'm not sure how long it takes for the marketplace integration to reflect the new versions - I would have assumed it's instant or within a few hours at the most.

You can manually download the zip file for any purchased add-ons from this page:
https://marketplace.concretecms.com/profile/orders/...
(you'll need to login first with your ConcreteCMS account)

Then extract the zip file on your computer and upload it to your site via FTP into the "packages" folder (there should already be a jb_megamenu folder - it's ok to overwrite that).
From there, return to the Dashboard of your site and find the "Extend" page to run the update routine for the add-on (here's a doco page about it:https://documentation.concretecms.org/user-guide/editors-reference/d...
I was looking for the step-by-step instructions on the ConcreteCMS site, and it seems they've either removed it from the documentation or buried it somewhere deep. Not sure why. But I hope this helps.

JB
kenmoore replied on at Permalink Reply
kenmoore
I must be missing something obvious but I can't find any way to download the zip file from the orders page!
jb1 replied on at Permalink Reply
jb1
If you're logged into your ConcreteCMS account it will show up like this:
Screenshot:https://monosnap.com/file/F3sg7iVeOLqxXe685ghze583wc7T1s...

Otherwise, I've highlighted the arrows where you can click to navigate to see your licenses. I have to admit it's a bit buried and takes a while for a newbie to find.
kenmoore replied on at Permalink Reply 1 Attachment
kenmoore
Unfortunately I don't get to see the download archive link, otherwise I'm sure I'd have found it!
See attached screenshot.
kenmoore replied on at Permalink Reply
kenmoore
Got it! I had to release it from the project first.
jb1 replied on at Permalink Reply
jb1
Ah, glad you got to the bottom of it. I'll reply to your DM after investigating a bit further.

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.