Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry, scrap that… the new version is broken as well. Not sure how they missed this one.

    Uncaught ReflectionException: Class “StrHelper” does not exist
    in /nas/content/live/env/wp-content/plugins/visualcomposer/visualcomposer/Framework/Illuminate/Container/Container.php on line 364

    Call stack:

    1. ReflectionClass::__construct('StrHelper')
      wp-content/plugins/visualcomposer/visualcomposer/Framework/Illuminate/Container/Container.php:364
    2. VisualComposer\Framework\Illuminate\Container\Container::build('StrHelper', array)
      wp-content/plugins/visualcomposer/visualcomposer/Framework/Illuminate/Container/Container.php:289
    3. VisualComposer\Framework\Illuminate\Container\Container::make('StrHelper', array)
      wp-content/plugins/visualcomposer/visualcomposer/Framework/Application.php:84
    4. VisualComposer\Framework\Application::make('StrHelper', array)
      wp-content/plugins/visualcomposer/visualcomposer/Framework/helpers.php:26
    5. vcapp('StrHelper', array)
      wp-content/plugins/visualcomposer/visualcomposer/Framework/helpers.php:47
    6. vchelper('Str')
      wp-content/plugins/visualcomposer/visualcomposer/Framework/Illuminate/Events/Dispatcher.php:72
    7. VisualComposer\Framework\Illuminate\Events\Dispatcher::__construct(VisualComposer\Application)
      wp-content/plugins/visualcomposer/visualcomposer/Application.php:143
    • This reply was modified 2 weeks, 4 days ago by solargard.

    They just released a patch (45.16.1) which includes the missing folder. You should be able to update from WordPress as you normally would any other plugin.

    I got this to work by using $wpdb->query($creation_query) instead of dbDelta($creation_query) in the files below:

    /plugins/mailin/model/model-forms.php:56
    /plugins/mailin/model/model-users.php:44
    /plugins/mailin/model/model-lang.php:32

    Seems there’s an issue with the syntax of the SQL statement around “CREATE TABLE IF NOT EXISTS” as the dbDelta() function will interpret “IF” as the table name which throws everything off.

    Hope this helps someone!

Viewing 3 replies - 1 through 3 (of 3 total)