Whatsapp backup error – Android Enthusiasts Stack Exchange

Unable to restore your chats from this backup. Do you want to restore your chats from an older backup?
Skip? Restore from older?

This is the error which appers all the time.
After trying all the possible options.
Backup in google drive and restore
Backup in media card and restore
Deleting old backups
Deleting major chats and media
Deleting backups and databases from whatsapp.
I do a fresh backup and restore in new phone
With same gmail id.
And Google drive I’d.
Again it shows same error.
What to do?

http – Why am I getting a 400 BAD REQUEST error for simple GET request?

I’m using an old programming language (Adobe’s Extendscript). It has a simple Socket object to send TCP/IP requests.
The following lines always used to work for me:

reply = "";
conn = new Socket;
if (conn.open ("www.freelancebookdesign.com:80")) {
    conn.write ("GET /license.txt HTTP/1.1nhost: freelancebookdesign.comnn");
    reply = conn.read(9999);

But a couple of days ago, my hosting company (Bluehost) migrated my website to a new box (without being asked to do so, or giving advanced warning).
Now the same lines above return the following 400 error:

HTTP/1.1 400 Bad Request
Date: Thu, 02 Jul 2020 10:14:48 GMT
Server: Apache
Upgrade: h2,h2c
Connection: Upgrade, close
Accept-Ranges: bytes
host-header: c2hhcmVkLmJsdWVob3N0LmNvbQ==
Content-Length: 130
Content-Type: text/html; charset=UTF-8

I’ve contacted their customer support, but received a clueless response.
I don’t know if this is the right place to ask for help, but I would really appreciate it if anyone has any ideas what the issue might be, even if I can just give their customer support some pointers in the right direction.
What might be the difference between the old server setup and the new that would be causing this?

9 – Why am I getting an error that kint is an unknown function?

Why am I getting an error that kint is an unknown function?

When I use kint in my twig template, I get the following error:

The website encountered an unexpected error. Please try again later.

TwigErrorSyntaxError: Unknown "kint" function. in TwigExpressionParser->getFunctionNodeClass() (line 96 of themes/custom/fluffy/templates/nodes/node--historical_cat_images.html.twig).
TwigExpressionParser->getFunctionNode('kint', 96) (Line: 235)
TwigExpressionParser->parsePrimaryExpression() (Line: 175)
TwigExpressionParser->getPrimary() (Line: 70)
TwigExpressionParser->parseExpression() (Line: 142)
TwigParser->subparse(NULL, ) (Line: 98)
TwigParser->parse(Object) (Line: 563)
TwigEnvironment->parse(Object) (Line: 595)
TwigEnvironment->compileSource(Object) (Line: 408)
TwigEnvironment->loadClass('__TwigTemplate_d5b278350c4def17738543ca20480b532effadcdfc825b13713ee45ee867f82b', 'themes/custom/fluffy/templates/nodes/node--historical_cat_images.html.twig', NULL) (Line: 381)
TwigEnvironment->loadTemplate('themes/custom/fluffy/templates/nodes/node--historical_cat_images.html.twig') (Line: 65)
twig_render_template('themes/custom/fluffy/templates/nodes/node--historical_cat_images.html.twig', Array) (Line: 384)
DrupalCoreThemeThemeManager->render('node', Array) (Line: 431)
DrupalCoreRenderRenderer->doRender(Array, ) (Line: 200)
DrupalCoreRenderRenderer->render(Array, ) (Line: 226)
DrupalCoreRenderMainContentHtmlRenderer->DrupalCoreRenderMainContent{closure}() (Line: 573)
DrupalCoreRenderRenderer->executeInRenderContext(Object, Object) (Line: 227)
DrupalCoreRenderMainContentHtmlRenderer->prepare(Array, Object, Object) (Line: 117)
DrupalCoreRenderMainContentHtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
DrupalCoreEventSubscriberMainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 78)
SymfonyComponentEventDispatcherLegacyEventDispatcherProxy->dispatch(Object, 'kernel.view') (Line: 163)
SymfonyComponentHttpKernelHttpKernel->handleRaw(Object, 1) (Line: 80)
SymfonyComponentHttpKernelHttpKernel->handle(Object, 1, 1) (Line: 57)
DrupalCoreStackMiddlewareSession->handle(Object, 1, 1) (Line: 47)
DrupalCoreStackMiddlewareKernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupalpage_cacheStackMiddlewarePageCache->pass(Object, 1, 1) (Line: 85)
Drupalpage_cacheStackMiddlewarePageCache->handle(Object, 1, 1) (Line: 47)
DrupalCoreStackMiddlewareReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
DrupalCoreStackMiddlewareNegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
StackStackedHttpKernel->handle(Object, 1, 1) (Line: 705)
DrupalCoreDrupalKernel->handle(Object) (Line: 19)

I am using Drupal 9.0.1. and have, among other things, this in my composer.json file:

"require-dev": {
    "drupal/devel": "^4.0",
    "drupal/devel_php": "^1.2",
    "kint-php/kint": "^3.3"

In my services.yml file, I have:

  debug: true,

And in the twig file I have:

{{ kint() }}

I also have the Variables Dumper set to Kint in the Devel config.

microsoft excel – Merge CSV Files Error 1004

So I am trying to make a macro that will merge multiple .csv files into one excel worksheet. I used the following tutorial for it:
vba code

However, once I put in the correct path to the .csv files, I get “Run-time error ‘1004: Sorryy we couldn’t find April2019.csv. Is it possible it was moved, renamed or deleted?” (April2019.csv is the first file in the folder).
So the macro obviously finds the right folder and the .csv file but then it stops and I have no idea why. I’ve been trying to change the code around a bit but it won’t work. The code below is what I am using at the moment, credits to Jie Jenn who made the tutorial.

Option Explicit

Dim wsMerge As Worksheet
Dim RowInsert As Long

Sub Merge_Files()
Const FolderPath As String = "H:DocumentsInvoices"

Dim Files As String
Dim wbTemp As Workbook
Dim LastRow As Long

Set wsMerge = ThisWorkbook.Worksheets("Merge")

RowInsert = 2

Files = Dir(FolderPath + "*.csv")

Do Until Files = ""
        Set wbTemp = Workbooks.Open(Files)
        With wbTemp.Worksheets(1)
        LastRow = .Cells(Rows.Count, "A").End(xlUp).Row
                .Range("A2:N" & LastRow).Copy
                wsMerge.Range("A" & RowInsert).PasteSpecial xlPasteValues
                Application.DisplayAlerts = False
                wbTemp.Close False
                Application.DisplayAlerts = True
                RowInsert = RowInsert + LastRow - 1
        End With
        Files = Dir()

MsgBox "File Merge Complete", vbInformation

End Sub

The error arrises when I “Set wbTemp = Workbooks.Open(Files)”

I hope this is enough context for the problem.

Getting error after updating module masquerade 8.x-2.0-beta3 to masquerade 8.x-2.0-beta4

After updating to module masquerade 8.x-2.0-beta4 in case of logging in with SSO i.e. simplesamlphp i am getting this error whenever trying to masquerade –

     Call to undefined method DrupaluserEntityUser::setAccount() in simplesamlphp_auth_user_logout() (line 68 of /var/www/html/modules/custom/simplesamlphp_auth/simplesamlphp_auth.module)

With masquerade 8.x-2.0-beta4 – This error is not coming when logging in using credentials.

Also error is not coming with masquerade 8.x-2.0-beta3 in any case whether logging in via SSO or credentials.

I am not able to figure out whether it is issue due to this new version or not?

Thanks in advance!

Allocator error in Unity

Suddenly, a wierd error started to come up in my console saying

More than 2048 allocators are registered. Reduce the allocator count.

This error leads to freezing of editor.

How to fix a The “tag” plugin does not exist error

when trying to access the home page of my site i am getting this error:

[Wed Jul 01 13:20:49.209695 2020] [lsapi:notice] [pid 8961:tid 47660541200128] [client] Backend log: Uncaught PHP Exception DrupalComponentPluginExceptionPluginNotFoundException: “The “tag” plugin does not exist. Valid plugin IDs for DrupalviewsPluginViewsPluginManager are: ” at /home/sitename/public_html/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53n

every other page works fine.

any idea what i can do to fix this?
this is a drupal 8 site

Magento 2.3 – Magmi-2 setup 404 error in LEMP

Afer download (Branch 2) Magmi and paste into usr/shar/nginx/html/magento23/magmi then run url,

Error : 404 error: Page not found.

SQL Server & SSDT : Error modeling database during Publish after adding CREATE AGGREGATE / EXTERNAL NAME

I am using SSDT to create a database containing CLR user defined aggregates.

The aggregates are intended to sit in different schema. That is not possible with CLR objects inside SSDT, without using a post-deployment script to move the objects after deployment.

What I am attempting to do is:

  • Create the CLR aggregates in a single schema (the “CLR” schema) using the “Default schema” option
  • Use a CREATE AGGREGATE wrapper in the desired schema to call the CLR aggregate

For example, I have a CLR aggregate like:

(Microsoft.SqlServer.Server.SqlUserDefinedAggregate(Format.UserDefined, MaxByteSize = -1))
public struct StatsEntropy : IBinarySerialize
 ... etc

This get compiled and becomes CLR.StatsEntropy in the database. The database is called AnalysisFunctions, so it has an assembly also called AnalysisFunctions. This is no problem.

I then create a wrapper in the Stats schema like so:

CREATE AGGREGATE (Stats).(Entropy)
    @Values FLOAT
EXTERNAL NAME AnalysisFunctions.StatsEntropy

This works without error when I build via debug. I have my debug connection set to a named instance of SQL Server. If I press F5, it compiles and deploys without any problem. The code is now usable on the server, including the wrapper.

But, if I attempt to publish to a server using Publish, it does not work. Instead it fails with:

Errors occurred while modeling the target database. Deployment cannot continue.

There are no further error messages either in the Data Tools Operations panel or error list. ssdttrace shows no useful information:

ssdttrace event log

This only happens when the database already exists on the server. If I drop the database, it can deploy successfully. I can deploy successfully via debug even if the database already exists, it is only via Publish that the problem occurs. I did not start getting this problem until I added the aggregate wrappers.

Previously I was also getting errors indicating that the assembly AnalysisFunctions had an unresolved reference due to the use of EXTERNAL NAME – again working via debug, not via publish. But now that error has mysteriously vanished.

I am using Visual Studio 2017 15.9.21 and SSDT 15.1.62002.01090, deploying to SQL Server 2019.

Does anyone have any idea what this error might be, or how I can debug it?

error – How to set a custom 503 page for ALL suspended domains in Plesk?

Connect to a Plesk server via SSH.

Create a backup of the skeleton folder with the current default error documents:

cp -a /var/www/vhosts/.skel/0/error_docs/ /var/www/vhosts/.skel/0/error_docs_backup

Modify error documents files inside the /var/www/vhosts/.skel/0/error_docs/ directory according to the requirements or replace them with your own.

Warning: Do not change the name of the error documents files as it
will be also required to change a vhosts template.

Generate the list of all subscriptions:

plesk bin subscription -l > subscriptions.txt

Note: On this step, open the ‘subscriptions.txt’ file and edit it if
not all subscriptions should be affected.

Create a backup of the existing error documents for each subscription using these commands:

HTTPD_VHOSTS_D=$(cat /etc/psa/psa.conf | grep "HTTPD_VHOSTS_D" | awk '{print $2}')

while read i; do mv $HTTPD_VHOSTS_D/$i/error_docs $HTTPD_VHOSTS_D/$i/error_docs_backup; done < subscriptions.txt

Copy the modified on step 2 error documents and set up the correct permissions on them:

while read i; do cp -a $HTTPD_VHOSTS_D/.skel/0/error_docs/ $HTTPD_VHOSTS_D/$i/error_docs/; subscriptionlogin=$(plesk db -N -e "select login from sys_users where id=(select sys_user_id from hosting where dom_id=(select id from domains where name='$i'))"); chown $subscriptionlogin:psacln $HTTPD_VHOSTS_D/$i/error_docs; chown $subscriptionlogin:psacln $HTTPD_VHOSTS_D/$i/error_docs/*; done < subscriptions.txt

Note: Apache and nginx services restart is not required to apply made
changes because no configuration files were affected.

Source: https://support.plesk.com/hc/en-us/articles/360033478634