Hi i got this error, i was using flex like for 2 months, and now i got this error,
any one have a solution?
thanks !
Uncaught TypeError: Cannot read property 'hasOwnProperty' of null
at x8F.cN (flexmonster.js:9)
at F5F.rX (flexmonster.js:9)
at F5F.load (flexmonster.js:9)
at X5U.connect (flexmonster.js:9)
at A4U.Zka (flexmonster.js:9)
at A4U.Xx (flexmonster.js:9)
at A4U.J1 (flexmonster.js:9)
at A4U.Wka (flexmonster.js:9)
at A4U.HA (flexmonster.js:9)
at A4U.wv (flexmonster.js:9)
x8F.cN @ flexmonster.js:9
F5F.rX @ flexmonster.js:9
F5F.load @ flexmonster.js:9
X5U.connect @ flexmonster.js:9
A4U.Zka @ flexmonster.js:9
A4U.Xx @ flexmonster.js:9
A4U.J1 @ flexmonster.js:9
A4U.Wka @ flexmonster.js:9
A4U.HA @ flexmonster.js:9
A4U.wv @ flexmonster.js:9
G7m.wv @ flexmonster.js:9
G0U.wv @ flexmonster.js:9
U2x.setReport @ flexmonster.js:9
Hello, Lucciano,
Thank you for reaching out to us.
We have not managed to reproduce the error on our end.
Could you please provide a code sample with dummy data where the issue is reproducible?
Or modify the following JSFiddle so that the issue is reproducible?
This will greatly help us to make further progress in solving this case.
Looking forward to your reply.
Kind regards,
Vera
<style type="text/css">
#fm-pivot-view .fm-grid-row {
height: 20px;
min-height: 20px;
max-height: 20px;
min-width: 20px !important;
max-width: 100px !important;
}
#fm-pivot-view .fm-grid-row-mobile {
height: 20px;
min-height: 20px;
max-height: 20px;
min-width: 20px !important;
max-width: 100px !important;
}
#fm-pivot-view .fm-grid-layout #fm-data-sheet .fm-cell {
padding-top: 2.5px !important;
}
#fm-pivot-view .fm-grid-layout .fm-cell.fm-v-sort, #fm-pivot-view .fm-grid-layout .fm-cell.fm-h-sort {
padding-top: 2.5px !important;
}
</style>
<div id="pivot-container"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.js"> </script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<script type="text/javascript">
var avd = {!! $view_data !!};
var _token = "{{ csrf_token() }}";
var confi = {!! $options !!};
var condition = {!! $condition !!};
var slice = {!! $slice !!};
var formats = {!! $formats !!};
console.log("este es confi-->"+confi);
//console.log("este es options-->"+);
var tablesizes = {!! $tablesizes!!};
//console.log(tablesizes.length);
if(tablesizes.length == 0 ){
tablesizes = {"columns":[{"idx":1,"width":95},
{"idx":2,"width":95},{"idx":3,"width":95},{"idx":4,"width":95},{"idx":5,"width":95},{"idx":6,"width":95},{"idx":7,"width":95},{"idx":8,"width":95},{"idx":9,"width":95},{"idx":10,"width":95},{"idx":11,"width":95},{"idx":12,"width":95},{"idx":13,"width":95},{"idx":14,"width":95},{"idx":15,"width":95},{"idx":16,"width":95},{"idx":17,"width":95},{"idx":18,"width":95},{"idx":19,"width":95},{"idx":20,"width":95},{"idx":21,"width":95},{"idx":22,"width":95},{"idx":23,"width":95},{"idx":24,"width":95},{"idx":25,"width":95},{"idx":26,"width":95},{"idx":27,"width":95},{"idx":28,"width":95},{"idx":29,"width":95},{"idx":30,"width":95},{"idx":31,"width":95},{"idx":32,"width":95},{"idx":33,"width":95}]};
}
else{
}
var pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
toolbar: true,
width:"100%",
height:950,
reportcomplete: reportComplete
});
function reportComplete() {
pivot.off("reportcomplete");
$.ajax({
type: 'POST',
data:{
'_token': _token
},
url: avd['admin_path'] + "/" + avd['url_slug'],
success: function(resp) {
var datos = JSON.parse(resp.data)
pivot.setReport({
dataSource: {
data: datos
},
options: confi,
slice: slice,
conditions: condition,
formats: formats,
tableSizes: tablesizes
});
},
error: function(err) {
alert('Error');
}
});
}
</script>
i have the same code of 2 months ago, and i dont know why it dosent work now 🙁
pic
Hello Lucciano,
Thank you for providing us with your code samples.
We are currently working on the issue.
Meanwhile, we recommend replacing:
<script src=”https://cdn.flexmonster.com/flexmonster.js”></script>
with
<script src="https://cdn.flexmonster.com/2.7/flexmonster.js"></script>
That is a reference to a previous version of the component where such behaviour is not reproducible.
We will notify you as soon as we have more information on the issue.
Regards,
Dmytro
thanks you very much!!
i buy yesturday a year license, i need the product key, can u help me whit that?
thanks you
best regards
Hello, Lucciano,
Our team is currently working on the solution and will release the fix shortly.
We will let you know as soon as the fix is available and then you could switch back to the latest version.
Regarding the license matter, our team will contact you via email.
Please feel free to write to us in case additional questions arise.
Kind regards,
Vera
hello, i send an email, for require my PRODUCTION key
can u help me whit this?
thanks you
Kind regards,
Lucciano
Hello Lucciano,
Thank you for reaching out.
Please see my reply via email.
Best regards,
Valeriia
Hello, Lucciano,
We are happy to inform you that the exception when loading JSON data with nulls was fixed.
This is available in the 2.8.1 release version of Flexmonster: https://www.flexmonster.com/release-notes/version-2-8-1/
You are welcome to update the component.
Here is our updating guide for reference: https://www.flexmonster.com/doc/updating-to-the-latest-version/
Please let us know if everything works fine for you.
Kind regards,
Vera