Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Share By Email] Warnings #210

Open
math-GH opened this issue Feb 29, 2024 · 4 comments
Open

[Share By Email] Warnings #210

math-GH opened this issue Feb 29, 2024 · 4 comments
Labels
xExtension-ShareByEmail xExtension-ShareByEmail

Comments

@math-GH
Copy link
Contributor

math-GH commented Feb 29, 2024

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

grafik

The file extensions/xExtension-ShareByEmail/mailers/View.php does not exist in this folder. There is just a Share.php file.

@math-GH
Copy link
Contributor Author

math-GH commented Feb 1, 2025

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?

@Alkarex
Copy link
Member

Alkarex commented Feb 2, 2025

@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?

@math-GH
Copy link
Contributor Author

math-GH commented Feb 2, 2025

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

@marienfressinaud
Copy link
Member

marienfressinaud commented Feb 3, 2025

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xExtension-ShareByEmail xExtension-ShareByEmail
Projects
None yet
Development

No branches or pull requests

3 participants