Converting an entity with existing contents to revisionable throws exception

I’m trying to convert a core entity (menu_link_content) to revisionable with existing data. I’m trying to figure out how to accomplish this. I saw this go to guide here –

I have a D8.6 site and I’m trying to make the menu_link_content revisionable. On top of that my site has existing content for custom menus. And I cannot just delete these contents. So these has to be ideally migrated to the new revision tables thats created. When I followed the step by step approach in that guide ‘Section 2’ I get the exception –

“Drupal\Core\Entity\EntityStorageException: The SQL storage cannot change the schema for an existing entity type (menu_link_content) with data. in Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema->onEntityTypeUpdate() (line 347 of /var/www/myproj/docroot/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php).”

When I delete all the custom menu links content it works.

Please confirm if my understanding is correct in the Section 2 –

“If you are updating the code for an existing site and your entity type already contains some data, you will also need to provide an upgrade path in addition to the changes explained in part 1. The upgrade path is composed of two things “

  • This means before performing the section 2 steps we have to make sure the Section 1 is done. This includes changing the Entity file annotations and setting fields to revisionable etc.

After this step I added the new revision fields like logs, created, time etc to install file and then created a post_update file and specified the fields which revision is set to true in that array.

Any suggestions or examples are welcome. Thanks!

2Captcha Error

Hi, I would like to ask regarding my 2captcha error on my GSA SER software. Currently my 2captcha account still have $ 31.88 ( But on the GSA SER its write only 999 balance, which is supposed to be more balance since my 2captcha still got $ 31.88 credit (

I asked the 2captcha support regarding this issue but they said they have no idea what is going on. So i came here and ask for an advise. Thanks.

Style Sheet loads intermittently only on Microsoft Edge Browser

I am using the Advanced CSS/JS Aggregation module to load css once the page has loaded:

<link type="text/css" rel="stylesheet" href="/sites/default/files/advagg_css/css__fQOpwieSv5u9MLUdCJW8AX3ysBkVaiLC0mNO9bCuF8c__FLUdFFsRYhU7NN2T4QA7b0pMyQP1W1hRmVlZ5H2Saxs__sq6B6dIZCxhnK6op34i0_MkLadmDDYLWNc-Y9yWUjsQ.css" media="all" as="style" onload="window.advagg_mod_loadcss = function() {if (window.jQuery) {if (jQuery.isFunction(jQuery.holdReady)){jQuery.holdReady(false);}} else {setTimeout(advagg_mod_loadcss, 100);}};setTimeout(advagg_mod_loadcss, 200);this.onload=null;this.rel='stylesheet'"> 

The problem is that sometimes only on Microsoft Edge, the stylesheet does not get loaded (I don’t see the styles getting applied on my site). Once I reload the page, it works fine. It’s hard to replicate because it does not happen all the time and it only happens one time per page.

What is the fastest way to allow users to RDP into computers?

I have a network with about 20-30 computers which are all on the same network/domain. I just created a non-admin user and tried to RDP to the machines but keep getting the error “The connection was denied because the user account is not authorized for remote login”. I added the user to the Remote Desktop Users group which didn’t work. I also tried to install Windows Server Essentials Experience and to do it through there, but you have to join each computer to it anyways, so it wouldn’t be different from going to each computer and manually adding the user to Remote Desktop Users local group. RDPing for administrators works fine.

Is there a way I can enable RDP to all computers from just the domain controller so there’s minimal work involed?




Drupal 8 REST export View shows “This display has no path” in View UI and 404 Error on page

I’ve got a fresh install of Drupal 8.6.x with REST/API/JSON Web Services enabled and I’ve created a Rest export View with path: /api/test which returns the correct JSON View results when I append the required querystring:


So all is well. Until I either create a second REST export View or a new Display in the working View. These seem to work fine in the View’s UI Preview but also displays “This display has no path” just above the Preview output. If I go to the new View/Display’s URL I get Page Not Found and if I append ?_format=json I get this:

{ "message": "No route found for \"GET /api/temp-view\"" } 

(/api/temp-view is my second View’s path).

It’s the strangest thing. Only the first, original view Display is working. I’ve created all sorts of different URL paths to test (and Saved each time). The View settings are standard and identical.

I’ve spent about 6 hours on this now…

Any help much appreciated.

Unable to set default program for .cpp file type

I’m using the latest edition of Windows 10 Home on a 64-bit computer.

I’ve been struggling to set the default program used to open .cpp files. At first, it was set to Notepad, but at some point I must have set it to Code::Blocks by accident. I was eventually able to get rid of the association to Code::Blocks, but now .cpp files don’t have any association. The best I can do is set them back to Code::Blocks.

I tried many of the suggestions on this question, but still no luck yet.

I’ve tried multiple ways of setting the default program: Through the Windows 10 Settings app, the typical “Right click and select Open With”, through the Properties window. I even tried NirSoft’s FileTypesMan. One interesting observation I made is that on the File Types Manager, it does say next to the User Choice option “NOTEPAD.EXE”, yet it obviously hasn’t worked yet.

I can get through the whole process of setting the program without an error message or anything, yet their is no visible result.

Any ideas on what I may be doing wrong or what I should try?