Coder Social home page Coder Social logo

contao-wowjs's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

contao-wowjs's Issues

Uncaught PHP Exception TypeError: "preg_replace(): Argument #3 ($subject) must be of type array|string, null given"

I found a small bug which is caused when I use wow.js inside a rocksolid custom element which contains a checkbox.

It's already discussed here:
https://community.contao.org/de/showthread.php?86020-Fehlermeldung-bei-Zusammenspiel-mit-wow-js&p=578319

The error is:

request.CRITICAL: Uncaught PHP Exception TypeError: "preg_replace(): Argument #3 ($subject) must be of type array|string, null given" at /var/www/vhosts/domain.de/vendor/inspiredminds/contao-wowjs/src/EventListener/HookListener.php line 80 {"exception":"[object] (TypeError(code: 0): preg_replace(): Argument #3 ($subject) must be of type array|string, null given at /var/www/vhosts/domain.de/vendor/inspiredminds/contao-wowjs/src/EventListener/HookListener.php:80)"} []

My template which causes this error:

<li<?php if($this->workshop==1) { echo ' class="is-workshop"'; } ?>>

As mentioned in the link above, this can be solved by changing line 77 in HookListener.php to the following:

$attributes = $matches[2] ?? '';

Error with inspiredminds/contao-wowjs and delirius/contao-structure-element extension

If I use the Contao extension "delirius/contao-structure-elements" and the extension "inspiredminds/contao-wowjs" is installed at the same time, I get the following error message when creating the Start-Structure Element as a DIV element: "An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'wowjsOffset' at row 1". Question: Is there an incompatibility with the structure element and can you fix it when you have a chance?

Upgrad auf animate V4

Hi,
ist geplant contao-wowjs auf animate v4 umzustellen.
Da ibt es einige neue interessante Effekte.
Wäe super

after update to 4.7.2 error preg_match()

after update to 4.7.2 you can't edit articles.

Log Error:
[2019-04-03 15:12:41] request.CRITICAL: Uncaught PHP Exception TypeError: "preg_match() expects parameter 2 to be string, null given" at /var/www/html/.../vendor/contao/core-bundle/src/DataContainer/PaletteManipulator.php line 199 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): preg_match() expects parameter 2 to be string, null given at /var/www/html/.../vendor/contao/core-bundle/src/DataContainer/PaletteManipulator.php:199)"} []

app_dev | TypeError in

in vendor/inspiredminds/contao-wowjs/src/Resources/contao/dca/tl_content.php->applyToPalette (line 190) ->applyToPalette($key, 'tl_content');

After uninstalling this package, it worked again.

Are you still maintaining this package?

Contao 4.13-RC1

Frontend becomes unreachable with errormessage:

request.CRITICAL: Uncaught PHP Exception TypeError: "strlen(): Argument #1 ($str) must be of type string, int given" at /Users/georg/Websites/cmsc4ME/vendor/inspiredminds/contao-wowjs/src/EventListener/HookListener.php line 49 {"exception":"[object] (TypeError(code: 0): strlen(): Argument #1 ($str) must be of type string, int given at /Users/georg/Websites/cmsc4ME/vendor/inspiredminds/contao-wowjs/src/EventListener/HookListener.php:49)"} []

Implement global setting?

In some cases a global setting would be useful. E.g. if all my elements have the same duration and delay, they can be easily maintained or changed.

wowjsDelay, wowjsDuration, wowjsAnimation doesn't have a default value

After Installation, its not possible to create new Content elements:

An exception occurred while executing 'INSERT INTO tl_content [...] SQLSTATE[HY000]: General error: 1364 Field 'wowjsDelay' doesn't have a default value

So all 3 Fields wowjsDelay, wowjsDuration and wowjsAnimation doesn't have a default value.
After set NULL to all as Standard in tl_content there are no more errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.