• Resolved KBaucherel

    (@kbaucherel)


    MY SITE IS BROKEN PLEASE HELP. Customiser is not loading. The static homepage has been replaced by the blog feed, and I cannot edit anything on the original page.

    I updated WordPress to v5.3. Running Cactus v 1.3.5 with all recommended plugins activated. When I go to Customise my front page, the editor is completely blank. URL is correctly shown as https://galiadigital.co.uk/wp-admin/customize.php but it only gives the option ‘you are customising WIDGETS’ and the error message “Your theme has 10 widget areas, but this particular page doesn’t display them. You can navigate to other pages on your site while using the Customiser to view and edit the widgets displayed on those pages.”

    This is consistent whether accessing Customise from the dashboard, the header of the site while logged in, or the Cactus About page.

    I have deactivated Cactus and activated other themes to test the Customise function and it works with every one i have tried so it is a Cactus-specific issue.

    I can edit internal pages through the usual WP editor.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter KBaucherel

    (@kbaucherel)

    Hey Vela Themes, take a look at this error:

    repeater.js?ver=5.3:724

    Uncaught TypeError: $ is not a function
    at i.addRow (repeater.js?ver=5.3:724)
    at repeater.js?ver=5.3:200
    at Function.v.each.v.forEach (underscore.min.js?ver=1.8.3:1)
    at initCactusControl (repeater.js?ver=5.3:199)
    at i.ready (repeater.js?ver=5.3:94)
    at Object.<anonymous> (load-scripts.php?c=0&load[chunk_0]=customize-base,customize-preview,jquery-ui-position,jquery-ui-menu,jquery-ui-autocomplete,wp-hooks,heartbeat,customize-controls,&load[chunk_1]=customize-widgets,mce-view,imgareaselect,image-edit,wp-sanitize,updates,thickbox,accordion,customize-nav-menus,jquery-ui-button,&load[chunk_2]=customize-models,customize-views,plugin-install,quicktags,wplink,media-upload,wp-embed&ver=5.3:38)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.add [as done] (jquery.js?ver=1.12.4-wp:2)
    at initialize (load-scripts.php?c=0&load[chunk_0]=customize-base,customize-preview,jquery-ui-position,jquery-ui-menu,jquery-ui-autocomplete,wp-hooks,heartbeat,customize-controls,&load[chunk_1]=customize-widgets,mce-view,imgareaselect,image-edit,wp-sanitize,updates,thickbox,accordion,customize-nav-menus,jquery-ui-button,&load[chunk_2]=customize-models,customize-views,plugin-install,quicktags,wplink,media-upload,wp-embed&ver=5.3:38)
    at i.h.Class (load-scripts.php?c=0&load[chunk_0]=customize-base,customize-preview,jquery-ui-position,jquery-ui-menu,jquery-ui-autocomplete,wp-hooks,heartbeat,customize-controls,&load[chunk_1]=customize-widgets,mce-view,imgareaselect,image-edit,wp-sanitize,updates,thickbox,accordion,customize-nav-menus,jquery-ui-button,&load[chunk_2]=customize-models,customize-views,plugin-install,quicktags,wplink,media-upload,wp-embed&ver=5.3:1)

    Thread Starter KBaucherel

    (@kbaucherel)

    Seems to be reported by several themes since 5.3 update. Have followed all the advice around clearing cache etc.

    Had the same issue. Problem was solved by downgrading wp to 5.2 using the WP Downgrade plugin. Before that, of course, strongly suggested to make backups of database and wp settings

    Jay

    (@iyasaholistics)

    Thanks @yehalov for saving my day.I had a similar issue as @kbaucherel mentioned and it is resolved after downgrading WP version to 5.2.5.

    Vela theme team – Please update the thread once you have the fix available. Eventually, we need to upgrade the WP version to the current.

    Best,
    Jay

    Thread Starter KBaucherel

    (@kbaucherel)

    RESOLVED BY CHANCE!

    After weeks of deactivating plugins, clearing caches, upgrading PHP and so on, by chance I discovered a security inconsistency across the site. Some elements were not being caught by the site’s SSL cert. I edited the .htaccess file as follows to fix, and it magically resolved the Customizer problem at the same time. I did not know this was an issue with the site – it was flagged separately in conversation with my hosting company. Good luck folks…

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]

    I’m having this same issue on my site. I’ll try downgrading to WP 5.2.5 but I agree this needs to be fixed by Vela. I’d love to try the fix @kbaucherel suggested but I’m not tech savvy enough.

    Thanks,
    Phyllis (@phylliscoledai)

    Thread Starter KBaucherel

    (@kbaucherel)

    To be fair, it unfixed itself quite rapidly and I also ended up downgrading to 5.2.5 – although now with full https:// resolving throughout the site. Come on Vela themes, this is crazy….

    Oh my God why didn’t I read this earlier! I didn’t even know there was a plug in to downgrade WordPress. I had been doing it the long way this whole time…

    Thank you all for suggesting version 5.2.5. My customizer is working again. I have been having the same issue for the past 8 weeks and the Vela Theme Support has not answered any of my emails. They need to fix this issue ASAP, it is so frustrating!

    RESOLVED!
    I had to change the file repeater.js (/wp-content/themes/cactus/inc/customizer-library/custom-controls/repeater), lines 724 and 725, as below:

    FROM:

    $( '.icp' ).iconpicker().on( 'iconpickerUpdated', function() {
    	$( this ).trigger( 'change' );
    } );

    TO:

    jQuery( '.icp' ).iconpicker().on( 'iconpickerUpdated', function() {
    	jQuery( this ).trigger( 'change' );
    } );

    Of course, if Cactus theme is updated and does not bring this fix, we will have to change this code again, as the update must overwrite this file.

    Still having problems! I’m running WP 5.5.1, with the Cactus theme.

    @marcelovegaweb – I just tried your solution, but so far no dice. What am I missing? I changed the “$” to “jQuery” on the lines you mentioned, but I’m still only getting “widgets” in my customize menu. Do I need to do something else, some sort of cache clearance or something?

    This stinks! Thanks to anybody who can help.

    And if I DO have to downgrade, it looks like 5.2.5 is the only option? Won’t that screw up all the other plugins and such? Is the downgrade easy to do?

    • This reply was modified 4 years, 2 months ago by benevans101.
    • This reply was modified 4 years, 2 months ago by benevans101.

    Sorry for multiple posts – I realized I was using “Safari”, which can often cause problems. Even after downgrading it still wasn’t working – I didn’t even get the “widgets” option. So if anybody else is having the same problem, just try a different browser. Downgrading and using Firefox seems to be working for me, though i’d like to be running the latest wordpress and use Marcelo’s solution, which is much more elegant if it works!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Customise broken – site broken’ is closed to new replies.