System error log Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm...

What font is "z" in "z-score"?

Is safe to use va_start macro with this as parameter?

What is the meaning of the simile “quick as silk”?

Can anything be seen from the center of the Boötes void? How dark would it be?

What would be the ideal power source for a cybernetic eye?

Can a party unilaterally change candidates in preparation for a General election?

What is homebrew?

How do I make this wiring inside cabinet safer? (Pic)

Significance of Cersei's obsession with elephants?

How could we fake a moon landing now?

Can an alien society believe that their star system is the universe?

Chinese Seal on silk painting - what does it mean?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

How to answer "Have you ever been terminated?"

How to find all the available tools in mac terminal?

Should I use a zero-interest credit card for a large one-time purchase?

How to tell that you are a giant?

Can a new player join a group only when a new campaign starts?

Why wasn't DOSKEY integrated with COMMAND.COM?

What is implied by the word 'Desika'

Trademark violation for app?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Wu formula for manifolds with boundary



System error log



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento System and Exception Log not workingSystem log giving Recoverable Error: Argument 1 passed to Mage_Catalog_Helper_ImageMagento error logGetting error if xml settings are loaded from cachecatalog_product_collection_load_after causing maximum nesting issue for configurable productslog system DEBUG (7)Magento error in system logRapidly increasing system log in magento 2Magento 1.9.2.4 cURL issueMagento 1.9.0. getimagesize(): Read error!





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















When I see my system.log I see a error name :




2015-12-16T15:15:19+00:00 DEBUG (7): is_readable() expects parameter 1
to be a valid path, string
given/data/web/public/lib/Varien/Io/File.php




Does anyone know where this error comes from and what I can do about it?



When I go to the file file.php. I see the code:



protected function _checkSrcIsFile($src)
{
$result = false;
if (is_string($src) && is_readable($src) && is_file($src)) {
$result = true;
}
return $result;
}









share|improve this question































    0















    When I see my system.log I see a error name :




    2015-12-16T15:15:19+00:00 DEBUG (7): is_readable() expects parameter 1
    to be a valid path, string
    given/data/web/public/lib/Varien/Io/File.php




    Does anyone know where this error comes from and what I can do about it?



    When I go to the file file.php. I see the code:



    protected function _checkSrcIsFile($src)
    {
    $result = false;
    if (is_string($src) && is_readable($src) && is_file($src)) {
    $result = true;
    }
    return $result;
    }









    share|improve this question



























      0












      0








      0








      When I see my system.log I see a error name :




      2015-12-16T15:15:19+00:00 DEBUG (7): is_readable() expects parameter 1
      to be a valid path, string
      given/data/web/public/lib/Varien/Io/File.php




      Does anyone know where this error comes from and what I can do about it?



      When I go to the file file.php. I see the code:



      protected function _checkSrcIsFile($src)
      {
      $result = false;
      if (is_string($src) && is_readable($src) && is_file($src)) {
      $result = true;
      }
      return $result;
      }









      share|improve this question
















      When I see my system.log I see a error name :




      2015-12-16T15:15:19+00:00 DEBUG (7): is_readable() expects parameter 1
      to be a valid path, string
      given/data/web/public/lib/Varien/Io/File.php




      Does anyone know where this error comes from and what I can do about it?



      When I go to the file file.php. I see the code:



      protected function _checkSrcIsFile($src)
      {
      $result = false;
      if (is_string($src) && is_readable($src) && is_file($src)) {
      $result = true;
      }
      return $result;
      }






      magento-1.9 log






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 16 '15 at 16:20









      Bill

      2,45231239




      2,45231239










      asked Dec 16 '15 at 16:11









      Michel Van De WielMichel Van De Wiel

      509




      509






















          2 Answers
          2






          active

          oldest

          votes


















          5














          The log entry




          is_readable() expects parameter 1 to be a valid path, string given




          occurs due to a bug in the Varien library. The method Varien_Io_File::write() can be used to either




          1. write given data to a given destination file or

          2. copy the contents from a given source file to a given destination file.


          These use cases are distinguished by checking the second parameter $src of the aforementioned method via call to Varien_Io_File::_checkSrcIsFile().



          If $src turns out to be a filename, its contents are copied to the destination (use case 2). Otherwise it is interpreted as plain data (use case 1). The check applies function.is-readable which always emits given warning in use case 1.



          What you can do about it:




          • Replace the initial call to Varien_Io_File::write()

          • Fix the erroneous conditional switch

          • Ignore the log entries






          share|improve this answer
























          • @Michel Van De Wiel I think this should be accepted as answer, don't you think?

            – Eddie C.
            Aug 1 '17 at 11:00



















          0














          The above answer is not clear at all because $src is being passed as an argument in the function so I don't understand where you gonna replace $src with Varien_Io_File::write() so this doesn't seem like a solution to this warning.
          who got a solution for this problem?





          share








          New contributor




          Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f94028%2fsystem-error-log%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            The log entry




            is_readable() expects parameter 1 to be a valid path, string given




            occurs due to a bug in the Varien library. The method Varien_Io_File::write() can be used to either




            1. write given data to a given destination file or

            2. copy the contents from a given source file to a given destination file.


            These use cases are distinguished by checking the second parameter $src of the aforementioned method via call to Varien_Io_File::_checkSrcIsFile().



            If $src turns out to be a filename, its contents are copied to the destination (use case 2). Otherwise it is interpreted as plain data (use case 1). The check applies function.is-readable which always emits given warning in use case 1.



            What you can do about it:




            • Replace the initial call to Varien_Io_File::write()

            • Fix the erroneous conditional switch

            • Ignore the log entries






            share|improve this answer
























            • @Michel Van De Wiel I think this should be accepted as answer, don't you think?

              – Eddie C.
              Aug 1 '17 at 11:00
















            5














            The log entry




            is_readable() expects parameter 1 to be a valid path, string given




            occurs due to a bug in the Varien library. The method Varien_Io_File::write() can be used to either




            1. write given data to a given destination file or

            2. copy the contents from a given source file to a given destination file.


            These use cases are distinguished by checking the second parameter $src of the aforementioned method via call to Varien_Io_File::_checkSrcIsFile().



            If $src turns out to be a filename, its contents are copied to the destination (use case 2). Otherwise it is interpreted as plain data (use case 1). The check applies function.is-readable which always emits given warning in use case 1.



            What you can do about it:




            • Replace the initial call to Varien_Io_File::write()

            • Fix the erroneous conditional switch

            • Ignore the log entries






            share|improve this answer
























            • @Michel Van De Wiel I think this should be accepted as answer, don't you think?

              – Eddie C.
              Aug 1 '17 at 11:00














            5












            5








            5







            The log entry




            is_readable() expects parameter 1 to be a valid path, string given




            occurs due to a bug in the Varien library. The method Varien_Io_File::write() can be used to either




            1. write given data to a given destination file or

            2. copy the contents from a given source file to a given destination file.


            These use cases are distinguished by checking the second parameter $src of the aforementioned method via call to Varien_Io_File::_checkSrcIsFile().



            If $src turns out to be a filename, its contents are copied to the destination (use case 2). Otherwise it is interpreted as plain data (use case 1). The check applies function.is-readable which always emits given warning in use case 1.



            What you can do about it:




            • Replace the initial call to Varien_Io_File::write()

            • Fix the erroneous conditional switch

            • Ignore the log entries






            share|improve this answer













            The log entry




            is_readable() expects parameter 1 to be a valid path, string given




            occurs due to a bug in the Varien library. The method Varien_Io_File::write() can be used to either




            1. write given data to a given destination file or

            2. copy the contents from a given source file to a given destination file.


            These use cases are distinguished by checking the second parameter $src of the aforementioned method via call to Varien_Io_File::_checkSrcIsFile().



            If $src turns out to be a filename, its contents are copied to the destination (use case 2). Otherwise it is interpreted as plain data (use case 1). The check applies function.is-readable which always emits given warning in use case 1.



            What you can do about it:




            • Replace the initial call to Varien_Io_File::write()

            • Fix the erroneous conditional switch

            • Ignore the log entries







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 16 '15 at 16:52









            mam08ixomam08ixo

            2,693817




            2,693817













            • @Michel Van De Wiel I think this should be accepted as answer, don't you think?

              – Eddie C.
              Aug 1 '17 at 11:00



















            • @Michel Van De Wiel I think this should be accepted as answer, don't you think?

              – Eddie C.
              Aug 1 '17 at 11:00

















            @Michel Van De Wiel I think this should be accepted as answer, don't you think?

            – Eddie C.
            Aug 1 '17 at 11:00





            @Michel Van De Wiel I think this should be accepted as answer, don't you think?

            – Eddie C.
            Aug 1 '17 at 11:00













            0














            The above answer is not clear at all because $src is being passed as an argument in the function so I don't understand where you gonna replace $src with Varien_Io_File::write() so this doesn't seem like a solution to this warning.
            who got a solution for this problem?





            share








            New contributor




            Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              The above answer is not clear at all because $src is being passed as an argument in the function so I don't understand where you gonna replace $src with Varien_Io_File::write() so this doesn't seem like a solution to this warning.
              who got a solution for this problem?





              share








              New contributor




              Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                The above answer is not clear at all because $src is being passed as an argument in the function so I don't understand where you gonna replace $src with Varien_Io_File::write() so this doesn't seem like a solution to this warning.
                who got a solution for this problem?





                share








                New contributor




                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                The above answer is not clear at all because $src is being passed as an argument in the function so I don't understand where you gonna replace $src with Varien_Io_File::write() so this doesn't seem like a solution to this warning.
                who got a solution for this problem?






                share








                New contributor




                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                share


                share






                New contributor




                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 4 mins ago









                Maneza F8Maneza F8

                11




                11




                New contributor




                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Maneza F8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f94028%2fsystem-error-log%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

                    How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

                    變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...