I created a plugin with custom blocks. I am have trouble with the block preview. When I set the block on preview mode and reload the page editor — I get a error message on all the blocks I've preview Error loading block: You are probably offline.
In the console I am also getting the following errors:
pd-admin.js?ver=2.20:12 Uncaught TypeError: jQuery(...).live is not a function
Failed to load resource: net::ERR_CONNECTION_CLOSED
wp-auth-check.min.js?ver=5.5:2 Uncaught TypeError: Cannot read property 'hasClass' of undefined
Any ideas what I am doing to cause this?
I find issue with the RichText field — if the RichText is too long I can't preview the block at all and in the block I get the same error message saying Error loading block: You are probably offline.
To fix console error : WordPress 5.5 stopped using jQuery migrate. This change has been causing problems with old plugins and themes. If you are noticing issues after upgrading to WordPress 5.5, installing this plugin might fix it: https://wordpress.org/plugins/enable-jquery-migrate-helper/
For RichText long text error, you need to increase LimitRequestLine in your apache configuration. Ref : how to increase Apache 2 uri length limit
Related
I use Joomla Version 3.8.6 with "The ALLROUNDER 3 - Joomla Template" in Version 1.1 and I have a problem when I edit an article via frontend. When I want to save the article nothing happens. All other buttons (close, etc...) work correctly.
In my browser console I get this error message when I click on the save button:
> Uncaught TypeError: Cannot read property 'isValid' of null
> at Object.Joomla.submitbutton (index.php?view=form&layout=edit&a_id=1&catid=8&return=aHR0cDovL3Rlc3QudHNjLXpldXpsZWJlbi5kZS9pbmRleC5waHA=:67)
> at HTMLButtonElement.onclick
This error happens for all different types of users (Editor as well as Super-Administrator)
I deleted the template completely from my webspace and did a new clean install but the error is still there. I tried to disable Jquery-Scripts in the header as well as all other Javascripts but this did not help. I also disabled sequentially all plugins, but the error was still active. Further, I set up textfilter for all users to "No Filter", but the error was still active.
Thank you for your help!
I am trying to add a blog to a SilverStripe site using the Blog Module.
The package seemed to install fine (via composer require silverstripe/blog) and dev/build returned no errors. The ‘Blog’ page type is also available from the ‘Add page’ menu.
After adding a ‘Blog’ page, the site doesn’t redirect to http://localhost:8888/example/admin/pages/edit/show and simply remains on the http://localhost:8888/example/admin/pages/add/ page.
From what I can tell, the only result from this action is an ‘ARCHIVED’ page being added to the sitetree.
Have ?flush=all etc as per other suggestions to no avail and other page types are still being added fine.
Does anyone have any idea what might be going on here?
Currently using:
"silverstripe/cms": "3.6.1",
"silverstripe/framework": "3.6.1",
"phpunit/PHPUnit": "~3.7#stable"
"silverstripe/blog": "2.4.6"
[Edit 13/09/2017]
While simply adding a 'Blog' page produces no observable errors, adding a generic 'Page' and changing the page type to 'Blog' produces the following error in the php_error.log:
PHP Warning: require_once(/Applications/MAMP/htdocs/example/blog/_config.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/example/framework/core/manifest/ConfigManifest.php on line 141
PHP Fatal error: require_once(): Failed opening required '/Applications/MAMP/htdocs/example/blog/_config.php' (include_path='/Applications/MAMP/htdocs/example/vendor/phpunit/phpunit-mock-objects:/Applications/MAMP/htdocs/example/vendor/phpunit/php-token-stream:/Applications/MAMP/htdocs/example/vendor/phpunit/php-code-coverage:/Applications/MAMP/htdocs/example/vendor/phpunit/phpunit:/Applications/MAMP/htdocs/example/vendor/symfony/yaml:.:/Applications/MAMP/htdocs/example/framework:/Applications/MAMP/htdocs/example/framework/parsers:/Applications/MAMP/htdocs/example/framework/thirdparty:.:/Applications/MAMP/bin/php/php5.6.30/lib/php') in /Applications/MAMP/htdocs/example/framework/core/manifest/ConfigManifest.php on line 141
[Edit 13/09/2017]
Trialled the module on a clean install of SilverStripe as well as another project (both using 3.6.1 CMS and 2.4.6 Blog module); both work so far without issue. Perhaps it was an issue with this particular project. Would still be great to get clarification on what the root of this issue might have been.
I have created one xaml page with binding but at sometimes at time of page loading getting fallowing exception, it seems very strange.
Please suggest in which situation we can get this type of error.
Error:
In TYPO3 status report. i am getting this type of error Cache Flooding Protection is disabled. Please enable [FE][cHashIncludePageId] in the Install Tool.
So, I have set this value [FE][cHashIncludePageId]= true in TYPO3 install tools.... Now TYPO3 status report all configuration is Ok.
But getting frontend error like below.
Uncaught TYPO3 Exception: #1467983513: ID parameter needs to be passed for the cHash calculation! As a temporary not recommended workaround, you can set $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashIncludePageId'] to false to avoid this error.
Thanks!
When I try to open any panel in DebugKit, CakePHP logo just keeps spinning and I can see there is an error in console. This is the error that I get :
Call to undefined method App\Controller\Component\MyComponent::configKey()
Which is strange because this component works totally fine and it doesn't show any errors when I use it in the application.
I figured out what was causing the error. My components name was Cookie and DebugKit plugin uses component with this name as well, so plugin was trying to call function configKey, which of course could not be found in my component.