Jump to:

2088 Posts in 1007 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Getting eCommerce error in Products Menu

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Page: 1
Go to End
Author Topic: 602 Views
  • Signals
    Avatar
    Community Member
    4 Posts

    Getting eCommerce error in Products Menu Link to this post

    When I installed svn-v0.8.1 and payment-v0.3.0, everything looks reasonably fine in the back end except the Products tab. When I click on that, the nav menu disappears, I get a blue background and the following error codes in the background:
    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 233

    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 236

    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 239

    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 242

    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 245

    Warning: Call-time pass-by-reference has been deprecated in /home/content/m/a/l/mallwithout/html/silverstripe/svn-v0.8.1/code/cms/ProductBulkLoader.php on line 248

    Everything there seems to work okay, but the menu is gone and this error code is annoying. I am a novice with this and not a PHP guy. Any simple suggestions?

    I have located this file, though my shared hosting FTP File Manager doesn't show line numbers.

    Help would be greatly appreciated.

    Thanks in advance,
    Matthew

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    UPDATE

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    I looked at the file with line numbers and the section it refers to is:

       //work around until I can figure out how to allow calling processVariation multiple times
       function processVariation1(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);
       }
       function processVariation2(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);
       }
       function processVariation3(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);
       }
       function processVariation4(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);
       }
       function processVariation5(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);
       }
       function processVariation6(&$obj, $val, $record){
          $this->processVariation(&$obj, $val, $record);

    In each case, the line that has the error refers to the line that says: $this->processVariation(&$obj, $val, $record);

    Anyone have any thoughts on how to fix this?

    Matthew

    602 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.