Extensions
Extensions copied to clipboard
[Share By Email] Warnings
FreshRSS 1.23.2-dev ShareByEmail 0.2.1
Warning: include(.../extensions/xExtension-ShareByEmail/mailers/View.php): Failed to open stream: No such file or directory in ...\extensions\xExtension-ShareByEmail\extension.php on line 28
Warning: include(): Failed opening '.../extensions/xExtension-ShareByEmail/mailers/View.php' for inclusion (include_path='...\php\PEAR') in ...\extensions\xExtension-ShareByEmail\extension.php on line 28
The file extensions/xExtension-ShareByEmail/mailers/View.php does not exist in this folder. There is just a Share.php file.
Warning: include(.../extensions/xExtension-ShareByEmail/mailers/View.php): Failed to open stream: No such file or directory in ...\extensions\xExtension-ShareByEmail\extension.php on line 28
@marienfressinaud The file View.php is expected in the mailers directory but Share.php found.
How could we fix this issue correctly?
@math-GH This error message does not seem up to date with the latest version of that extension. Could you please check that you are testing with 0.3.2?
good point. I had 0.3.0. Now updated to 0.3.2 but more problems occured:
Warning: include(.../extensions/xExtension-ShareByEmail/mailers/View.php): Failed to open stream: No such file or directory in ...\extensions\xExtension-ShareByEmail\extension.php on line 32
Warning: include(): Failed opening '.../extensions/xExtension-ShareByEmail/mailers/View.php' for inclusion (include_path='...\php\PEAR') in ...\extensions\xExtension-ShareByEmail\extension.php on line 32
Deprecated: Creation of dynamic property Minz_View::$entry is deprecated in ...\extensions\xExtension-ShareByEmail\Controllers\shareByEmailController.php on line 45
Deprecated: Creation of dynamic property Minz_View::$to is deprecated in ...\extensions\xExtension-ShareByEmail\Controllers\shareByEmailController.php on line 60
Deprecated: Creation of dynamic property Minz_View::$subject is deprecated in ...\extensions\xExtension-ShareByEmail\Controllers\shareByEmailController.php on line 61
Deprecated: Creation of dynamic property Minz_View::$content is deprecated in ...\extensions\xExtension-ShareByEmail\Controllers\shareByEmailController.php on line 62
Warning: Undefined property: Minz_View::$rss_url in ...\app\layout\simple.phtml on line 39
It doesn't seem to be linked to the code I wrote. But if I'm right, https://github.com/FreshRSS/Extensions/blob/master/xExtension-ShareByEmail/Controllers/shareByEmailController.php#L15 should be:
parent::__construct(ShareByEmail\Models\View::class);
And https://github.com/FreshRSS/Extensions/blob/master/xExtension-ShareByEmail/Models/View.php#L5 should be:
namespace ShareByEmail\Models;