Jump to content

[FREE MODULE] Mockup Generator


Recommended Posts

Hi,

We have just developed a Prestashop module to automatically generate mock-ups on the product.

We developed it primarily to address our own issue as we couldn't find a module that met our needs.

This is our first Prestashop module, so please don't hesitate to give us your feedback (suggestions, bugs, ...) :D.

Best regards,

The Wanted Design team

mockupgenerator-1.0.2.zip

Edited by wanted_design
Edit title (see edit history)
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • wanted_design changed the title to [FREE MODULE] Mockup Generator
[2023-03-30 20:58:22] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "link_rewrite" of class "PrestaShop\PrestaShop\Adapter\Tools". Did you mean to call "linkRewrite"?" at /var/www/vhosts/testsite.com/modules/mockupgenerator/src/MGMockupUploader.php line 16 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"link_rewrite\" of class \"PrestaShop\\PrestaShop\\Adapter\\Tools\".\nDid you mean to call \"linkRewrite\"? at /var/www/vhosts/testsite.com/modules/mockupgenerator/src/MGMockupUploader.php:16)"} []
[2023-03-30 20:58:22] request.CRITICAL: Exception thrown when handling an exception (Twig\Error\LoaderError: Template "::base.html.twig" is not defined in "@PrestaShop/Admin/Exception/error.html.twig" at line 26. at /var/www/vhosts/testsite.com/vendor/twig/twig/src/Loader/ChainLoader.php line 99) {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): Template \"::base.html.twig\" is not defined in \"@PrestaShop/Admin/Exception/error.html.twig\" at line 26. at /var/www/vhosts/testsite.com/vendor/twig/twig/src/Loader/ChainLoader.php:99)"} []

 

Link to comment
Share on other sites

hace 20 horas, Sashok dijo:
[2023-03-30 20:58:22] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "link_rewrite" of class "PrestaShop\PrestaShop\Adapter\Tools". Did you mean to call "linkRewrite"?" at /var/www/vhosts/testsite.com/modules/mockupgenerator/src/MGMockupUploader.php line 16 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"link_rewrite\" of class \"PrestaShop\\PrestaShop\\Adapter\\Tools\".\nDid you mean to call \"linkRewrite\"? at /var/www/vhosts/testsite.com/modules/mockupgenerator/src/MGMockupUploader.php:16)"} []
[2023-03-30 20:58:22] request.CRITICAL: Exception thrown when handling an exception (Twig\Error\LoaderError: Template "::base.html.twig" is not defined in "@PrestaShop/Admin/Exception/error.html.twig" at line 26. at /var/www/vhosts/testsite.com/vendor/twig/twig/src/Loader/ChainLoader.php line 99) {"exception":"[object] (Twig\\Error\\LoaderError(code: 0): Template \"::base.html.twig\" is not defined in \"@PrestaShop/Admin/Exception/error.html.twig\" at line 26. at /var/www/vhosts/testsite.com/vendor/twig/twig/src/Loader/ChainLoader.php:99)"} []

 

Yes, same error.

Prestashop 8.0.1 - Php 8.1.17 - Openlitespeed 1.7.16.

Waiting fix but...

Replace line 16 on "/src/MGMockupUploader.php" by:

$imageName = $name . '.' . $ext;

And working.

Grettings.

  • Like 1
Link to comment
Share on other sites

  • 7 months later...
10 hours ago, Nickz said:

 

No one needs PHP8.2, if it weren't for the update pressure many sites would glady work unter php4. 
Go VPS if you wish to maintain a versions but monitor your shop.

No one needs those computers and all that internet. If it weren't for the pressure of the advance of civilization, ordinary stationary stores would continue to operate.

  • Like 1
Link to comment
Share on other sites

10 hours ago, Yabber said:

No one needs those computers and all that internet. If it weren't for the pressure of the advance of civilization, ordinary stationary stores would continue to operate.

There is  big gap between needing and using it voluntarily.
With such an extreme view you need to slow down a little, IMHO. There are many shades between black and white. 😉

Link to comment
Share on other sites

20 hours ago, Nickz said:

There is  big gap between needing and using it voluntarily.
With such an extreme view you need to slow down a little, IMHO. There are many shades between black and white. 😉

This was not my view just a joke.
On a great many hostings, if a particular PHP version loses support, the hosting admins remove such version from the servers (very rightly, by the way).
A few days after the release of the official PHP 8.3 version, there was already a wordpress version compatible with PHP 8.3.
And prestashop? Several years of delay and legacy code itself.

 

Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...