Jump to content

Help to recognise an error


InvisionHQ

Recommended Posts

Posted

It will certainly be my fault but I waste a lot of time to find the issues that are reported to me by whoops.

In this case for example I have a warning generated in the FormAbstract.php that had never happened to me:

// from:      /Users/sviluppo/Documents/sites/44x.test/system/Helpers/Form/FormAbstract.php

THIS IS THE ERROR:

"var_dump(): Property access is not allowed yet"

1966133927_Schermata2019-11-23alle13_37_05.thumb.png.a56eef30b60ad4b6e464595017b2df68.png

full stack report also a file in my app but with no comments.

// from:  /Users/sviluppo/Documents/sites/44x.test/system/Dispatcher/Controller.php

770015432_Schermata2019-11-23alle13_41_26.thumb.png.a475a6733ce079e3238599e3d957e5fa.png

Any advices on what and where to look?

 

Posted

Something wrong in this line:

$formTemplate = $form->customTemplate( array( \IPS\Theme::i()->getTemplate( 'submit', 'classifieds' ), 'createAdvertForm' ), $category, $hasModOptions, NULL );

 

Posted

var_dump(): Property access is not allowed yet

From what I can tell, this occurs when you are working with prepared statements incorrectly, but as you didn't share much of your code I can't comment further. Google the error and look at the various stackoverflow answers, which might help point you in the right direction.

https://stackoverflow.com/questions/51550819/property-access-is-not-allowed-yet-in

Random example.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...