How to resolve "Unable to apply data fix" during upgrade?

I update my Magento 2.3.2 to Magento 2.3.5 and I get the following error when upgrading:

Module ‘Magento_Wishlist’: Unable to apply data patch 
MagentoWishlistSetupPatchDataCleanUpData for module Magento_Wishlist. Original exception 
message: Unable to unserialize value. Error: Syntax error

how could i fix it?

Redmi Note 3 (SD 650) – Startup loop error and "unable to find" meta-inf / com / google / android / update-binary "in the zip file" when flashing a custom ROM

TWRP flashed after unlocking the bootloader in Redmi Note 3 (SD 650) via fastboot, it is stuck in the boot loop. When I try to install Bliss Rom, it shows "Unable to find & # 39; meta-inf / com / google / android / update-binary & # 39; in the zip file"

Why do my messages say "unable to send"?

I tried to send a message to someone, but when I pressed send, a red message appeared: "unable to send", I looked at several sites, but I cannot understand what it means. Does this mean i am stuck or is there another problem

How to disable an email redirector in Outlook when it is "Unable to load these settings"?

We have a shared Office365 mailbox that I recently configured to transfer to an external support service system (free), by going to:

Settings Cog > View all outlook settings > Forwarding

We are now moving to an IMAP solution, so we need to disable this forwarder. Unfortunately, I see it now when I go to the same place. Transfer Options - Unable to load these settings. please try again later

Yes, this is the old "Unable to load these settings. Please try again later" from death. Because BSoD is therefore the last decade.

We have;

  • come back 24 seconds later
  • come back 24 hours later
  • tried to switch to classic mode
    every time I switch to classic mode, "Open another mailbox"
    open the shared mailbox in non-classic mode, then add
    the URL in classic mode does nothing.
  • We looked for anything on the administrator side that would allow us to change that

All have failed. How do I deactivate this redirector?

Thanks in advance


java – Hibernate stored procedure error when calling spring startup "Unable to get description information"

I am trying to call a DB2 stored procedure, but I still get the following error:

Hibernate: {call MYSPNAME(?,?,?)}
2020-03-18T18:14:53,707 WARN  (http-nio-8080-exec-1) SqlExceptionHelper id= marker= - SQL Error: -4472, SQLState: null
2020-03-18T18:14:53,718 ERROR (http-nio-8080-exec-1) SqlExceptionHelper id= marker= - (jcc)(10453)(12709)(4.11.77) Cannot get the describe information for the calling stored procedure with name MYSPNAME and path ' SYSIBM , SYSFUN , SYSPROC , SYSIBMADM , MY_USERNAME ' ERRORCODE=-4472, SQLSTATE=null
2020-03-18T18:14:53,733 WARN  (http-nio-8080-exec-1) SqlExceptionHelper id= marker= - SQL Warning Code: 4223, SQLState: null
2020-03-18T18:14:53,733 WARN  (http-nio-8080-exec-1) SqlExceptionHelper id= marker= - Origination unknown: (10228)(11541)(4.11.77) Security exceptions occurred while loading driver. ERRORCODE=4223, SQLSTATE=null

my NamedStoredProcedureQuery:

    resultClasses={ MyEntity.class },
    parameters = {
        @StoredProcedureParameter(name="USERID", type=String.class,   mode=ParameterMode.IN),
        @StoredProcedureParameter(name="APPNM",  type=String.class,   mode=ParameterMode.IN),
        @StoredProcedureParameter(name="DATE",   type=String.class,   mode=ParameterMode.IN)

What i call it:

StoredProcedureQuery query = entityManager.createNamedStoredProcedureQuery("MYSPNAME");
query.setParameter("USERID", "Test");
query.setParameter("APPNM", "Test");
query.setParameter("DATE", "Test");


What am i doing wrong? Why are there security exceptions? I watched online and found that the error "Unable to get description information" only occurs on an older driver version of mine. Any information would be appreciated. Thank you!

magento2 – When I download my extension on the magento market, it displays "Unable to open composer.json file. Please check the archive"

When I download my extension from the magento market, it says "Unable to open composer.json file. Please check the archive".

enter description of image here


  "name": "magento/sample-module-newpage",
  "description": "A Magento 2 module that creates a new page",
  "type": "magento2-module",
  "version": "1.0.0",
  "license": [
  "require": {
    "php": "~7.1.3|~7.2.0",
    "magento/framework": "~100.0.4"
  "autoload": {
    "files": [ "registration.php" ],
    "psr-4": {
      "Magento\SampleNewPage\": ""

root access – What is the reason for the error "Unable to create directory, errno: 13" on Android Linux?

I want to run diag_mdLog file of my request. I get different behavior on two apps. On a simple project, I am able to execute it, but on a complex project, there is an unknown problem that causes the error "Authorization denied".

Simple project code:(Kotlin)

execAndShowOut("diag_mdLog -o /sdcard/oem_logs/")
private fun execAndShowOut(command: String) {

        val runtime = Runtime.getRuntime()
        val suProcess = runtime.exec("su -c $command")

        errLogs = ""
        outLogs = ""

        val errorGobbler = StreamGobbler(suProcess.errorStream, "ERROR", logger = {
            errLogs += it + "n"
        // any output?
        val outputGobbler = StreamGobbler(suProcess.inputStream, "OUTPUT", logger = {
            outLogs += it + "n"
        // kick them off

        GlobalScope.launch {
            // any error???
            val exitVal = suProcess.waitFor(10, TimeUnit.SECONDS)
            log("ExitValue: $exitVal")


            out("--------- ERROR----n")
            out("nn--------- OUTPUT----n")
class StreamGobbler @JvmOverloads internal constructor(
    private val inputStream: InputStream,
    private val type: String,
    private val logger: ((String) -> Unit)? = null,
    private val outputStream: OutputStream? = null
) : Thread() {

    override fun run() {
        try {
            var printWriter: PrintWriter? = null
            if (outputStream != null)
                printWriter = PrintWriter(outputStream)

            val inputStreamReader = InputStreamReader(inputStream)
            val bufferedReader = BufferedReader(inputStreamReader)
            var line: String?
            while (bufferedReader.readLine().also { line = it } != null) {

        } catch (ioe: IOException) {

Result: Some qmdl files in / sdcard / oem_logs /

Relevance code of the complex project:(Java)

 // Get a handler that can be used to post to the main thread
        Handler mainHandler = new Handler(app.getApplicationContext().getMainLooper());
        // This is your code -> {
            try {
                exec("rm -r /sdcard/oem_logs/");
                exec("ls -l /vendor/bin/diag_mdlog");
                exec("su -c /vendor/bin/diag_mdlog -o /sdcard/oem_logs/");
            } catch (Exception e) {
private Process exec(String command) throws IOException, InterruptedException {

        Runtime runtime = Runtime.getRuntime();
        Process suProcess = runtime.exec(command);

        new StreamGobbler(suProcess.getErrorStream(), "ERROR").start();
        new StreamGobbler(suProcess.getInputStream(), "OUTPUT").start();

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            suProcess.waitFor(10, TimeUnit.SECONDS);
        } else {
            suProcess.wait(10 * 1000);
        return suProcess;
public class StreamGobbler extends Thread {

    private InputStream is;
    private String type;
    private OutputStream os;

    public StreamGobbler(InputStream is, String type) {
        this(is, type, null);

    StreamGobbler(InputStream is, String type, OutputStream redirect) { = is;
        this.type = type;
        this.os = redirect;

    public void run() {
        try {
            PrintWriter pw = null;
            if (os != null)
                pw = new PrintWriter(os);

            InputStreamReader isr = new InputStreamReader(is);
            BufferedReader br = new BufferedReader(isr);
            String line;
            while ((line = br.readLine()) != null) {
                if (pw != null)
                SigmaLog.d(type + ">" + line);
            if (pw != null)
        } catch (IOException ioe) {


ERROR>rm: /sdcard/oem_logs/: No such file or directory
OUTPUT>-rwxr-xr-x 1 root shell 46024 2009-01-01 05:30 /vendor/bin/diag_mdlog
OUTPUT>diag_mdlog: command = o
OUTPUT>diag:main: kernel supported: NUM_PERIPHERALS = 6, DIAG_CON_ALL: 127
OUTPUT>diag: No Session is active for the given mask
OUTPUT>diag_mdlog: Error creating: /sdcard/oem_logs/, errno: 13
OUTPUT>diag_mdlog: Attempting to use default directory
OUTPUT>diag:In main failed to create xml file 
OUTPUT>diag_mdlog: offline_log is 
OUTPUT>diag_mdlog: Continuing with default directory path /sdcard/diag_logs/20200117_134112
OUTPUT>diag_mdlog: Unable to create directory, errno: 13 Exiting....

I know there can be a lot of reasons for this failure and I can't share all the code here, so I want to know the reason for this error.

Please suggest it.

icloud – Hide / Delete "Unable to Upload" Album in Mac Photos (Catalina)

I am backing up my photo library on another Mac (I do not intend to activate iCloud Photos; I have big problems, check out the discussion on iCloud Photos which is not synchronized with Mac) under Catalina.

The photos all look good except that there is an album "Unable to Upload" on the sidebar. If I delete the photos from this sidebar, they also disappear from All Photos! (This should not be the case for the album, but it may be special).

Now the question is: how can I delete or hide this album?

php – Error – "Unable to change header information – already sent headers"

This error must be the most questioned in the history of the Internet. This answer is a more complete and explanatory translation originally published on StackOverflow in English by a colleague from the community.

In addition, I reviewed a lot of translation (including grammar) and, of course, redid all the formatting for the brand used by Stack Overflow. Nevertheless, if there are any errors, do not hesitate to correct or complete them.

Do not emit exit before sending the Headers!

Functions of sending / modification Headers HTTP must be called first of all exit be done. Otherwise, the call will fail.

Warning: Unable to Edit Header Information – Headers Already Sent (Output Started at file: line)

Some functions that modify the Headers HTTP are:

Exit may be:

  • accidental

  • Intentional:

    • print, echo and other functions emitting exitas var_dump()
    • Code before the code in .

Why does this happen?

To understand why Headers must be sent before exityou have to look at a typical HTTP response. The scripts PHP mainly generates HTML content, but also transmits Headers HTTP / CGI on the server.

HTTP/1.1 200 OK
Powered-By: PHP/5.3.7
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8

PHP page output page


Some more output follows...

and ...

The page /exit always follows the Headers. PHP is required to pass the Headers to the server first. He can only do it once. And after the double line break (sending exit for simplicity) he can not add more Headers.

When PHP receives the first exit (print, echo, ), he will send the Headers collection. He can then send all the content of the exit all that you want. But it is not possible to send news Headers from now on.

How can you know where the exit occurred?

The Warning function header() contains all relevant information to locate the root of the problem:

Warning: Can not Edit Header Information - Headers Already Sent by (exit started at / www / usr2345 / htdocs /auth.php: 52) in /www/usr2345/htdocs/index.php on line 100

Here, the line 100 refers to the line of script where the function call header() failed.
The message in parentheses is more important. She mentioned that the line 52 file auth.php is the root of exit. One of the most common causes of this error is:

Print, echo

Exit intentional impressions and echoes end up being able to send Headers HTTP The application stream needs to be restructured to avoid this. Use functions and models. Check that calls to the function header() occur before sending messages.

Functions that can send exit include but are not limited to: print, echo, printf(), trigger_error(), vprintf(), ob_flush(), var_dump(), readfile(), passthru(), among others. And also functions defined by you.

HTML code

HTML codes that are not interpreted in a .php file are the exits also Codes that call the function header() must be done before any code .


The whites before when ".php file line 1"is mentioned.
If the message indicates that the error is on line 1, it usually consists of a space, text, or HTML code before opening. tag .


They can also occur with scripts "together".


PHP actually makes a line break after closing tags.


Line breaks and spaces can be problematic. But there are also "invisible" chains that can cause this. the most popular is the UTF-8 GOOD (Byte-Order-Mark) that are not displayed by most text editors. This is an optional and redundant byte sequence for UTF-8.

But the PHP interpreter treats it as exit. It can also show that characters ï¿ ¿ in exit (if the client interprets the document in Latin-1) or a similar "basket".

In particular, some graphical editors and IDE Java based do not notice your presence. They do not see it thanks to the Unicode standard. However, some editors and consoles display:

enter the description of the image hereenter the description of the image here

It is not easy to recognize the problem early. Without such an available editor or Notepad ++ under Windows (which could solve the problem), another solution would be a hexeditor. Programmers should have one because they simplify the identification of these problems:

enter the description of the image here

The easy solution is to set the text editor used to save the files as follows: UTF-8 (on the good) or another similar or translated nomenclature. Many new programmers create new files by copying and pasting old ones, modifying their contents later.

Repair utilities

There are automated tools for rewriting text files. For PHP, in particular, there is the phptags tag tidier. It rewrites the opening and closing tags in long and short tags, but also easily solves the problems of the spaces and good:

phptags --whitespace *.php

It is wise to use in a complete directory or project directory.

White space after?>

If the root of the error is mentioned after the closure of the ?>So that's where there's white space or written text.

A tag Closing PHP does not end the script execution at this point. All characters after will be printed as exit.

Novices are generally told that the tag the closing time must be omitted. This avoids a significant part of these cases. includes They are usually to blame.

Again phptags --whitespace *.php solve it quickly.

Similarly, the order phptags --unclosed ./includes can remove labels ?> redundant scripts.

Root of the error mentioned as "Unknown at line 0"

This usually happens when PHP extensions or php.ini define if the root of the error is not specified. This happens mainly with the gzip stream where the ob_gzhandler().

However, this could also be any dual load module leaving a message of Warning implicit.

Previous error messages

If other PHP commands cause a Warning or view posted, this also counts as exit. In this case, you must correct the error, delay the execution of the command or delete the error with isset() or @ - when it does not interfere debugging later

No error message

If you have error_reporting or display_errors disabled by php.iniso no Warning will be displayed. But ignoring the errors will not solve the problem ( o /). Nevertheless, the Headers can not be sent after the exit.

So when header("Location: ...") the redirection fails silently, it's good to look at the warnings. Reactivate them with two simple commands (at the beginning of script):

error_reporting(E_ALL); ini_set("display_errors", 1);

Or if all else fails:


Speaking of redirects, you should use something like this for code paths in the end.

exit(header("Location: /finished.html"));

Or even a function that prints a message when a call header() fail.

Output control like gambiarra

The control of the PHP output is enough to solve this problem. This is not as reliable, but should be considered a valid gambiarra. Its real goal is to minimize fragmented server transfers. Restructure the application to avoid exit It is better.

However set up sortie_buffering help. Place this on php.ini or via .htaccess or even .user.ini. When this option is enabled, the content is stored in a buffer and is not instantly transmitted to the server. Therefore Headers HTTP can be aggregated.

This can also be done with a call to ob_start() above script. This, however, is less reliable for several reasons:

  • Even if start first scriptA problem of space, nomenclature or nomenclature can be caused earlier, rendering this technique ineffective.
  • This can hide spaces for exit HTML; but when the logic of the application tries to send binary content (a generated image, for example), irrelevant spaces stored in buffer become a problem. Even if ob_clean() to be another valid gambiarra.
  • The buffer He has a size limit. Although usually a hypothetical problem, it can still happen - which would not be easy to discover / examine.

See also an example of basic use in the manual.

But did it work on another server !?

If you have not had warnings before configuring the php.ini changed. The output control was then enabled on the other server, but not on the current server. See the previous section.

Verification with headers_sent ()

You can still use headers_sent() consider if you can still send Headers. This is useful for the conditional display of information or the application of another logic.

if (headers_sent()) {
    die("O redirecionamento falhou. Por favor, clique neste link: ");
    exit(header("Location: /user.php"));

Gambiarra with the HTML tag ☠ ☠

If the structure of your application is difficult to fix, a simple (but amateur) way to create a redirect is to inject HTML. A redirect can be done like this:

Or with a simple delay (the nephew approves!):

This will make your site invalid (even with fake XHTML) when inserted outside of . Most browsers still accept this. Alternatively, a redirect in Javascript could be done:

This is an acceptable approach if this is used as fold specialized redirection functions, which must first try to send a header() himself but uses the meta tag and a friendly message and a link as a last resort.

Because setcookie () and session_start () are also affected

Both setcookie() how much session_start() need to send a on your mind Set of cookies. The same conditions apply therefore and similar error messages will be displayed.

Problems exit of Headers They are not the only cause of non-functionality with them, of course. Browser cookies disabled or even proxy issues should always be checked. The functionality of session also depends on the available disk space and other parameters of the php.ini.

Additional links

transactions – Get error "Unable to sign entry, invalid stack size (possibly missing key)"

I created a key with the help of coinstring, then I imported it into my wallet. Then I ran:

bitcoin-cli signrawtransactionwithkey "$rawtxhex" "("$mykey$")"

But it follows:

Unable to sign input, invalid stack size (possibly missing key)

Ideas? my mykey is not really a variable, I codify it hard in my particular case, so I know it is present.