Jump to content

Module Manager - blockHomeSlide or productInfo or blogPost Error


www.you-sport.com

Recommended Posts

i use latest version 8.1.7 and

i get this when trying to access Module Manager in the back end

(even after upgrading from 8.1.5 to 8.1.7)

 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blockHomeSlide, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

or 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class productInfo, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

or

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

Edited by thebanker (see edit history)
Link to comment
Share on other sites

  • www.you-sport.com changed the title to Module Manager - blockHomeSlide or productInfo Error

no... i cannot locate who is the developer of those modules

i am not a developer of prestashop yet, but just a user

now i get 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

Link to comment
Share on other sites

  • www.you-sport.com changed the title to Module Manager - blockHomeSlide or productInfo or blogPost Error
1 hour ago, Divine said:

Hello,

Did you try to contact the developers of those modules ?

no... i cannot locate who is the developer of those modules

i am not a developer of prestashop yet, but just a user

now i get 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

Link to comment
Share on other sites

9 minutes ago, thebanker said:

no... i cannot locate who is the developer of those modules

i am not a developer of prestashop yet, but just a user

now i get 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

author PrestaShop SA <[email protected]>

it is the basic carousel slider on demo theme

Link to comment
Share on other sites

20 hours ago, www.you-sport.com said:

no... i cannot locate who is the developer of those modules

i am not a developer of prestashop yet, but just a user

now i get 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

i just fixed the errors, you can see the topic

 

Kisses !

Link to comment
Share on other sites

23 hours ago, www.you-sport.com said:

i get this when trying to access Module Manager in the back end

(even after upgrading from 8.1.5 to 8.1.

it is pretty obvious that your modules did not like the update. What error did you try to correct?

 

Link to comment
Share on other sites

13 minutes ago, Nickz said:

it is pretty obvious that your modules did not like the update. What error did you try to correct?

 

errors like 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blockHomeSlide, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

or 

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class productInfo, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

or

Oops... looks like an unexpected error occurred.

Compile Error: Cannot declare class blogPost, because the name is already in use

[Symfony\Component\ErrorHandler\Error\FatalError 0]

Enable debug mode

and another 2 similar for the other modules

Edited by www.you-sport.com (see edit history)
Link to comment
Share on other sites

also please check this file 

in modules blockhomeslider

blockhomeslider.php

 

how is your code ? i did some changes

<?php
if (!defined('_PS_VERSION_'))
  exit;

require_once(dirname(__FILE__) . '/classes/blockHomeSlide.php');

//use PrestaShop\PrestaShop\Core\Module\WidgetInterface;

class blockhomeslider extends Module //implements WidgetInterface
{

 

in short words i removed the WidgetInterface...

Link to comment
Share on other sites

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...