Vvveb icon indicating copy to clipboard operation
Vvveb copied to clipboard

startup.php failed to generate SQL.php class file when plugin name contain components

Open Shofiul-Alam opened this issue 1 year ago • 1 comments

Hi startup.php failed to generate SQL.php class file when plugin name contain components

I changed the the line number 153 as follows in startup.php

$pluginName = str_replace([DS . 'plugins' . DS, DS.$file], '', $sqlFile).DS;

image

Shofiul-Alam avatar Jul 16 '24 05:07 Shofiul-Alam

Hi

Can you please provide more details on how I can reproduce this bug, what sql file I should create to generate the error.

I added your change with adding DS to plugin name in the latest.zip release and I will commit the fix after I make more tests.

givanz avatar Jul 16 '24 22:07 givanz