On one of my sites on a multisite install of wordpress I am having an issue where when I try to add or edit a page just a blank page loads.
The HTML of the page that should be there is present if you inspect the page and I am getting several of the follow JS errors.
Uncaught TypeError: Cannot read properties of undefined (reading 'registerBlockType')
I have disabled all plugins and gone back to default theme twenty twenty, and the issue persists.
I'm not using any custom blocks as I did see that answer come up as a reason for this error when searching online. I am only using blocks from the built in Gutenberg block editor.
I am updated to the most recent version of wordpress and woocommerce.
I tried turning on WP_Debug in wp-config.php but that did not show any errors when attempting to add or edit a page.
If there is more information I can provide please let me know, I'm not sure where to go from here.
Any help would be greatly appreciated.
Related
I need a little help from you if you are familiar with css, php or javascript.
I needed a grid display component for my site, and after searching I found a suitable one and installed it. Now the problem is that after activating the module related to this component on any page, the menu at the top of my site stops working. It means that there is an interference between the grid component and the menu. If I disable the grid module, the menu works again without any problem.
Please see for yourself in the link below.
http://test6.harfrooz.com/117-more/18376-top-20-ufo-sightings
Currently, the grid module is active under articles,so nothing happens if you click on the search button or the corresponding button on the sidebar menu. This issue occurs only in mobile and tablet display modes. So reduce the browser size to see what I mean.
The question is, what should I do to solve the problem? I don't think it should be a very complicated problem?
Also, when the grid module is active, the following error can be seen on the Google Inspect page.
mootools-core.js?d25b1e28c6a2a29d5e390c182349c46d:136 Uncaught TypeError: Cannot read properties of undefined (reading 'x')
at getWidth (mootools-core.js?d25b1e28c6a2a29d5e390c182349c46d:136:134)
at Object.check (script.js:137:23)
at Object.initialize (script.js:58:14)
at HTMLDocument.<anonymous> (script.js:442:14)
at n (jquery-1.7.1.min.js:2:14784)
at Object.fireWith (jquery-1.7.1.min.js:2:15553)
at Function.ready (jquery-1.7.1.min.js:2:9773)
at HTMLDocument.B (jquery-1.7.1.min.js:2:14348)
Please see this image for better understanding
I checked the URL. The reason [Menu] and [Search Box] not working (in mobile view) is JS error you saw in console. If you fix that, they will be fixed too.
I can see that your home page is OK currently:
http://test6.harfrooz.com
You can see that the grid is not loading anymore in article view but in your demo it is loading yet and I guess that's the reason (perhaps it occurred after disabling some menus?).
So you should disable grid in article view somehow! For first try check the template manager and see how many styles are there? Maybe you need to set different style for homepage and other pages. specific themes usually selected through menu manager.
so first i have to say that i'm realy new to Typo3, so i dont rly know much about the cms.
Actually i have a Problem with my Page.
I want to integrade a Image Slider in my Page with the Nivo Slider Plugin.
The Problem is, that the Slider is not shown.
The page gives the error
TypeError: jQuery(...).nivoSlider is not a function
so i think, there is some problem with the jQuery.
For that i installed t3jquery but its still not working.
i nearly tried every configuration for t3jquery and also analysed the other extensions on my Page with the plugin, but nothing works.
Some of you have advice what i can do?
The page is hxxp://www.eventbringer.de/skireisen/opening-slider/ (so you can see the error in the JS Console)
TYPO3 has a very versatile way of getting content of code to the front-end.
One way is to use typoscript.
read : https://docs.typo3.org/typo3cms/TyposcriptReference/
You can see typoscript as a huge configuration 'array' that can declare all sorts of settings.
One of the settings is about how the 'page' itself needs to have.
If you need, for example, some javascript in your page, you could use
page.includeJs
https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Page/Index.html#setup-page-includejs-array
if you need yous JS at the footer, and its an external lib, you could use
includeJSLibs.twitter = http://twitter.com/javascripts/blogger.js
includeJSLibs.twitter.external = 1
I have a problem with my Magento 1.9 CE webshop.
When you order products the next button is not showing up on the checkout page, nor orders can be placed.
Things i have tried so far:
I installed a one page checkout plugin to see if this will work, it doesn't.
When you click on the "Place order now" button it rederects back to the one page chekout overview page.
I uninstalled all 3rd party plugins via magentoconnect, still no succes.
used the default theme to check if the checkout process will go true, also no succes.
used the original prototype.js file, because via firebug i noticed some errors on this file. also no succes.
i have been googling for 4 days now trying to search for a solution, but i cannot find the problem, there are a lot of solutions for checkout problems but none of them seem to work or are simmilar to my issue.
Is there annyone who can maybe help me out?
I also have a cookie notice when visiting the site, can also not click on agree to make it dissapear, i have a feeling this is related to the checkout problem.
The URL of the webshop is: https://www.pepstore.nl
any help would be very much appreciated!
I've been working on this website on my computer for the past several weeks, but have had it a point that I just can't figure something out with my table sorting. The site itself runs off PHP but I've duplicated the HTML output to make it easier for you guys to help me diagnose what the problem is.
Here's a link to the Working Page: http://privateservercloud.com/working.htm
Here's a link to the Not Working Page: http://privateservercloud.com/not-working.htm
If you go to the Working Page, you'll see that you can click on any of the headers of the table and it will sort them. However, if you go to the Not Working Page, you'll see that this doesn't happen.
I'm trying to figure out what's missing or coded incorrectly and causing this to happen. I've uploaded all of the HTML, CSS, and Javascript that's running this part of the site so you can see how it's all working and hopefully that'll make life a bit easier for anyone that can help.
So... does anyone see what I'm doing wrong or know what needs to be fixed?
I load the not-working example in Firefox with Firebug and get the following:
TypeError: document.getElementById(...) is null
...for(var e=0;e<menuids.length;e++){var t=document.getElementById(menuids[e]).getE...
in dropdown.js line 1.
The debugging tools really are your friends. If you don't want to use Firefox, you can do the same thing with the development tools in Chrome.
I find errors when I run rhe validator at http://validator.w3.org and a pile of CSS errors at http://jigsaw.w3.org/css-validator/
When things don't work right, validate the HTML, which at least mostly assures you have a valid DOM. Then validate the CSS and use the JavaScript console in your favorite browser's debugger.
We have installed version of Wordpress (3.2.1) and WP e-commerce (3.8.6.1) and I have noticed that in the product editor (within the admin interface) has a lot of gadgets that no longer work and I believe it has to do with a Javascript conflict.
The gadgets that no longer work are:
Not all the list of media buttons above the product entry page are visible
The only media button that is visible should launch the media browser in a thickbox; however it does not do this, it simply opens the media browser in the same window and is pretty un-usable for non-tech savvy people.
The Visual tab button is not selectable at all, only HTML is selectable
The "Howdy {user}" message and all the other drop-downs is usually a drop-down menu; but this no longer works.
These bugs do not appear on other pages, and only on the product editor page.
I have attempted to:
Comment out every JS file inside /wp-e-commerce/wpsc-admin/admin.php and seeing if it makes any difference
Use Firebug to go through and disable each JS file as and where possible to see what effect it has.
However, I am still unable to find where the problem is, or how to fix it.
I am using a clean install of Wordpress and the latest download of WP-Ecommerce. The only plugin active is WP-Ecommerce
Any help on this would be great. Thanks.
A picture of the issues are below.
[IMAGE REMOVED FOR SECURITY PURPOSES]
Update: 23 Sep # 13:15 BST
The admin.js file I refer to is in:
/wpsc-admin/js/admin.js
In the admin.js file, Chrome's Developer Tools are complaining of an error:
jQuery("a.thickbox").livequery(function(){
tb_init(this);
admin.js:458 Uncaught ReferenceError: tb_init is not defined
});
Also, it reports these errors:
post-new.php:997 Uncaught ReferenceError: switchEditors is not defined
post-new.php:998 Uncaught ReferenceError: switchEditors is not defined
I also believe the /wpsc-admin/includes/display-item-functions.php file has something to do with the bug/issue.
If I comment out the following all the Javascript suddenly works.
function wpsc_filter_delete_text( $translation, $text, $domain ) {
// If I comment this out the JS works.
// If left uncommented the JS does not work
/*
if ( 'Delete' == $text && isset( $_REQUEST['post_id'] ) && isset( $_REQUEST["parent_page"] ) ) {
$translations = &get_translations_for_domain( $domain );
return $translations->translate( 'Trash' ) ;
}
return $translation;
*/
}
I am going to continue my investigation to see where the problem is.
I believe I have resolved the problem.
Whilst the above solution does work, it creates a problem where other gadgets like the variations will not work anymore as intended.
After a lot of trial and error and pulling of hair, I upgraded to the latest version (3-8-7-rc1) and tried again, this does work but isn't ideal for all instances/occasions.
Apparantly, according to the forum thread I created on the Getshopped website, it is a memory allocation issue. If you view the source of the Edit Product page, you’ll see that it’s suddenly cut off when outputting the 'Product Download' metabox.
Anyway, upgrading seems to have solved the problem for now.
Thanks.