Fatal error and warning caused by Cornerstone Charts

Hey,

I was trying to recreate the calculator from your video, but with Forminator Pro instead of Gravity Forms, and it worked just fine. Then however I ran into some fatal errors caused by Cornerstone Charts. This was after I was tweaking some design settings from the Line Chart element. I don’t remember what I did when this started happening though.

This is from the PHP error log:
PHP Fatal error: Uncaught TypeError: Unsupported operand types: string / int in /wp-content/plugins/cornerstone-charts/extension/ChartElement.php:590

and

PHP Warning: Undefined array key "prefix" in /wp-content/plugins/cornerstone-charts/extension/Controls/ChartPoints.php on line 41

And there’s this warning in the browser console:
Frame missing CORNERSTONE_FRAME signature

I will remove the possibility Fatal error. That must be a new PHP8 thing. I have a feeling your aspect ratio has a “px” or a bad character. If you can let me know what your values are there just so I can double check that’s what is going wrong. The browser warning around the frame is related to this most likely.

The warning I’ll take care of as well. Thanks for bringing this to me!

Ahh, it was indeed the aspect ratio. I put “auto” in the width control…

Thanks Charlie :clap:t2:

1 Like